Cargo.toml 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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. [dependencies]
  31. anyhow.workspace = true
  32. async-trait.workspace = true
  33. axum.workspace = true
  34. cdk = { workspace = true, features = [
  35. "mint",
  36. ] }
  37. cdk-sqlite = { workspace = true, features = [
  38. "mint"
  39. ], optional = true }
  40. cdk-postgres = { workspace = true, features = ["mint"], optional = true }
  41. cdk-cln = { workspace = true, optional = true }
  42. cdk-lnbits = { workspace = true, optional = true }
  43. cdk-lnd = { workspace = true, optional = true }
  44. cdk-ldk-node = { workspace = true, optional = true }
  45. cdk-fake-wallet = { workspace = true, optional = true }
  46. cdk-axum.workspace = true
  47. cdk-signatory.workspace = true
  48. cdk-mint-rpc = { workspace = true, optional = true }
  49. cdk-payment-processor = { workspace = true, optional = true }
  50. config.workspace = true
  51. clap.workspace = true
  52. bitcoin.workspace = true
  53. tokio = { workspace = true, default-features = false, features = ["signal"] }
  54. tracing.workspace = true
  55. tracing-subscriber.workspace = true
  56. tracing-appender.workspace = true
  57. futures.workspace = true
  58. serde.workspace = true
  59. bip39.workspace = true
  60. tower-http = { workspace = true, features = ["compression-full", "decompression-full"] }
  61. tower.workspace = true
  62. lightning-invoice.workspace = true
  63. home.workspace = true
  64. url.workspace = true
  65. utoipa = { workspace = true, optional = true }
  66. utoipa-swagger-ui = { version = "9.0.0", features = ["axum"], optional = true }
  67. [build-dependencies]
  68. # Dep of utopia 2.5.0 breaks so keeping here for now
  69. zip = "=2.4.2"
  70. time = "=0.3.39"