Cargo.toml 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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"]
  15. mint = ["cdk-common/mint", "cdk-sql-common/mint"]
  16. wallet = ["cdk-common/wallet", "cdk-sql-common/wallet"]
  17. sqlcipher = ["rusqlite/bundled-sqlcipher"]
  18. prometheus = ["cdk-sql-common/prometheus", "cdk-prometheus"]
  19. [dependencies]
  20. async-trait.workspace = true
  21. cdk-common = { workspace = true, features = ["test"] }
  22. cdk-prometheus = { workspace = true, optional = true }
  23. bitcoin.workspace = true
  24. cdk-sql-common = { workspace = true }
  25. rusqlite = { version = "0.31", features = ["bundled"]}
  26. thiserror.workspace = true
  27. tokio = { workspace = true, features = ["rt-multi-thread"]}
  28. tracing.workspace = true
  29. serde.workspace = true
  30. serde_json.workspace = true
  31. lightning-invoice.workspace = true
  32. uuid.workspace = true
  33. paste = "1.0.15"
  34. [target.'cfg(target_arch = "wasm32")'.dependencies]
  35. uuid = { workspace = true, features = ["js"] }
  36. [lints]
  37. workspace = true