Cargo.toml 657 B

1234567891011121314151617181920212223242526
  1. [package]
  2. name = "kuatia-storage-sql"
  3. description = "SQLite/PostgreSQL storage backend for the Kuatia ledger."
  4. version = "0.1.0"
  5. edition = "2024"
  6. license.workspace = true
  7. [lints]
  8. workspace = true
  9. [dependencies]
  10. kuatia-types = { path = "../kuatia-types" }
  11. kuatia-storage = { path = "../kuatia-storage" }
  12. sqlx = { version = "0.8", default-features = false, features = ["runtime-tokio", "macros", "any"] }
  13. async-trait = "0.1"
  14. serde = { version = "1", features = ["derive"] }
  15. serde_json = "1"
  16. [dev-dependencies]
  17. tokio = { version = "1", features = ["full"] }
  18. paste = "1"
  19. [features]
  20. default = ["sqlite"]
  21. sqlite = ["sqlx/sqlite"]
  22. postgres = ["sqlx/postgres"]