Cargo.toml 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. [package]
  2. name = "cdk-mintd"
  3. version.workspace = true
  4. edition.workspace = true
  5. authors = ["CDK Developers"]
  6. license.workspace = true
  7. homepage = "https://github.com/cashubtc/cdk"
  8. repository = "https://github.com/cashubtc/cdk.git"
  9. description = "CDK mint binary"
  10. rust-version.workspace = true
  11. readme = "README.md"
  12. [features]
  13. default = ["management-rpc", "cln", "lnd", "lnbits", "fakewallet", "grpc-processor", "sqlite"]
  14. # Database features - at least one must be enabled
  15. sqlite = ["dep:cdk-sqlite"]
  16. postgres = ["dep:cdk-postgres"]
  17. # Ensure at least one lightning backend is enabled
  18. management-rpc = ["cdk-mint-rpc"]
  19. cln = ["dep:cdk-cln"]
  20. lnd = ["dep:cdk-lnd"]
  21. lnbits = ["dep:cdk-lnbits"]
  22. fakewallet = ["dep:cdk-fake-wallet"]
  23. ldk-node = ["dep:cdk-ldk-node"]
  24. grpc-processor = ["dep:cdk-payment-processor", "cdk-signatory/grpc"]
  25. sqlcipher = ["sqlite", "cdk-sqlite/sqlcipher"]
  26. # MSRV is not committed to with swagger enabled
  27. swagger = ["cdk-axum/swagger", "dep:utoipa", "dep:utoipa-swagger-ui"]
  28. redis = ["cdk-axum/redis"]
  29. auth = ["cdk/auth", "cdk-axum/auth", "cdk-sqlite?/auth", "cdk-postgres?/auth"]
  30. prometheus = ["cdk/prometheus", "dep:cdk-prometheus", "cdk-sqlite?/prometheus", "cdk-axum/prometheus"]
  31. [dependencies]
  32. anyhow.workspace = true
  33. async-trait.workspace = true
  34. axum.workspace = true
  35. cdk = { workspace = true, features = [
  36. "mint",
  37. ] }
  38. cdk-sqlite = { workspace = true, features = [
  39. "mint"
  40. ], optional = true }
  41. cdk-common = {workspace = true, features = ["prometheus"]}
  42. cdk-postgres = { workspace = true, features = ["mint"], optional = true}
  43. cdk-cln = { workspace = true, optional = true }
  44. cdk-lnbits = { workspace = true, optional = true }
  45. cdk-lnd = { workspace = true, optional = true }
  46. cdk-ldk-node = { workspace = true, optional = true }
  47. cdk-fake-wallet = { workspace = true, optional = true }
  48. cdk-axum.workspace = true
  49. cdk-signatory.workspace = true
  50. cdk-mint-rpc = { workspace = true, optional = true }
  51. cdk-payment-processor = { workspace = true, optional = true }
  52. config.workspace = true
  53. cdk-prometheus = { workspace = true, optional = true , features = ["system-metrics"]}
  54. clap.workspace = true
  55. bitcoin.workspace = true
  56. tokio = { workspace = true, default-features = false, features = ["signal"] }
  57. tracing.workspace = true
  58. tracing-subscriber.workspace = true
  59. tracing-appender.workspace = true
  60. futures.workspace = true
  61. serde.workspace = true
  62. bip39.workspace = true
  63. tower-http = { workspace = true, features = ["compression-full", "decompression-full"] }
  64. tower.workspace = true
  65. lightning-invoice.workspace = true
  66. home.workspace = true
  67. utoipa = { workspace = true, optional = true }
  68. utoipa-swagger-ui = { version = "9.0.0", features = ["axum"], optional = true }
  69. [build-dependencies]