Cargo.toml 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. [package]
  2. name = "cdk-sqlite"
  3. version.workspace = true
  4. edition.workspace = true
  5. authors = ["CDK Developers"]
  6. description = "SQLite storage backend for CDK"
  7. license.workspace = true
  8. homepage = "https://github.com/cashubtc/cdk"
  9. repository = "https://github.com/cashubtc/cdk.git"
  10. rust-version.workspace = true # MSRV
  11. readme = "README.md"
  12. # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
  13. [features]
  14. default = ["mint", "wallet", "auth"]
  15. mint = ["cdk-common/mint", "cdk-sql-common/mint"]
  16. wallet = ["cdk-common/wallet", "cdk-sql-common/wallet"]
  17. auth = ["cdk-common/auth", "cdk-sql-common/auth"]
  18. sqlcipher = ["rusqlite/bundled-sqlcipher"]
  19. prometheus = ["cdk-sql-common/prometheus", "cdk-prometheus"]
  20. [dependencies]
  21. async-trait.workspace = true
  22. cdk-common = { workspace = true, features = ["test"] }
  23. cdk-prometheus = { workspace = true, optional = true }
  24. bitcoin.workspace = true
  25. cdk-sql-common = { workspace = true }
  26. rusqlite = { version = "0.31", features = ["bundled"]}
  27. thiserror.workspace = true
  28. tokio = { workspace = true, features = ["rt-multi-thread"]}
  29. tracing.workspace = true
  30. serde.workspace = true
  31. serde_json.workspace = true
  32. lightning-invoice.workspace = true
  33. uuid.workspace = true
  34. [target.'cfg(target_arch = "wasm32")'.dependencies]
  35. uuid = { workspace = true, features = ["js"] }