Cargo.toml 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. [package]
  2. name = "cdk-mintd"
  3. version = "0.7.2"
  4. edition = "2021"
  5. authors = ["CDK Developers"]
  6. license = "MIT"
  7. homepage = "https://github.com/cashubtc/cdk"
  8. repository = "https://github.com/cashubtc/cdk.git"
  9. description = "CDK mint binary"
  10. rust-version = "1.75.0"
  11. [features]
  12. default = ["management-rpc", "cln", "lnd", "lnbits", "fakewallet"]
  13. # Ensure at least one lightning backend is enabled
  14. swagger = ["cdk-axum/swagger", "dep:utoipa", "dep:utoipa-swagger-ui"]
  15. redis = ["cdk-axum/redis"]
  16. management-rpc = ["cdk-mint-rpc"]
  17. # MSRV is not commited to with redb enabled
  18. redb = ["dep:cdk-redb"]
  19. sqlcipher = ["cdk-sqlite/sqlcipher"]
  20. cln = ["dep:cdk-cln"]
  21. lnd = ["dep:cdk-lnd"]
  22. lnbits = ["dep:cdk-lnbits"]
  23. fakewallet = ["dep:cdk-fake-wallet"]
  24. [dependencies]
  25. anyhow.workspace = true
  26. async-trait.workspace = true
  27. axum.workspace = true
  28. cdk = { workspace = true, features = [
  29. "mint",
  30. ] }
  31. cdk-redb = { workspace = true, features = [
  32. "mint",
  33. ], optional = true }
  34. cdk-sqlite = { workspace = true, features = [
  35. "mint",
  36. ] }
  37. cdk-cln = { workspace = true, optional = true }
  38. cdk-lnbits = { workspace = true, optional = true }
  39. cdk-lnd = { workspace = true, optional = true }
  40. cdk-fake-wallet = { workspace = true, optional = true }
  41. cdk-axum.workspace = true
  42. cdk-mint-rpc = { workspace = true, optional = true }
  43. config = { version = "0.13.3", features = ["toml"] }
  44. clap.workspace = true
  45. bitcoin.workspace = true
  46. tokio = { workspace = true, default-features = false, features = ["signal"] }
  47. tracing.workspace = true
  48. tracing-subscriber.workspace = true
  49. futures.workspace = true
  50. serde.workspace = true
  51. bip39.workspace = true
  52. tower-http = { workspace = true, features = ["compression-full", "decompression-full"] }
  53. tower = "0.5.2"
  54. lightning-invoice.workspace = true
  55. home = "0.5.5"
  56. url.workspace = true
  57. utoipa = { workspace = true, optional = true }
  58. utoipa-swagger-ui = { version = "9.0.0", features = ["axum"], optional = true }