Cargo.toml 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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", "auth"]
  14. # Ensure at least one lightning backend is enabled
  15. management-rpc = ["cdk-mint-rpc"]
  16. cln = ["dep:cdk-cln"]
  17. lnd = ["dep:cdk-lnd"]
  18. lnbits = ["dep:cdk-lnbits"]
  19. fakewallet = ["dep:cdk-fake-wallet"]
  20. grpc-processor = ["dep:cdk-payment-processor", "cdk-signatory/grpc"]
  21. sqlcipher = ["cdk-sqlite/sqlcipher"]
  22. # MSRV is not committed to with swagger enabled
  23. swagger = ["cdk-axum/swagger", "dep:utoipa", "dep:utoipa-swagger-ui"]
  24. redis = ["cdk-axum/redis"]
  25. auth = ["cdk/auth", "cdk-sqlite/auth"]
  26. [dependencies]
  27. anyhow.workspace = true
  28. async-trait.workspace = true
  29. axum.workspace = true
  30. cdk = { workspace = true, features = [
  31. "mint",
  32. ] }
  33. cdk-sqlite = { workspace = true, features = [
  34. "mint",
  35. ] }
  36. cdk-postgres = { workspace = true, features = ["mint"]}
  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-signatory.workspace = true
  43. cdk-mint-rpc = { workspace = true, optional = true }
  44. cdk-payment-processor = { workspace = true, optional = true }
  45. config = { version = "0.15.11", features = ["toml"] }
  46. clap.workspace = true
  47. bitcoin.workspace = true
  48. tokio = { workspace = true, default-features = false, features = ["signal"] }
  49. tracing.workspace = true
  50. tracing-subscriber.workspace = true
  51. futures.workspace = true
  52. serde.workspace = true
  53. bip39.workspace = true
  54. tower-http = { workspace = true, features = ["compression-full", "decompression-full"] }
  55. tower = "0.5.2"
  56. lightning-invoice.workspace = true
  57. home.workspace = true
  58. url.workspace = true
  59. utoipa = { workspace = true, optional = true }
  60. utoipa-swagger-ui = { version = "9.0.0", features = ["axum"], optional = true }
  61. [build-dependencies]
  62. # Dep of utopia 2.5.0 breaks so keeping here for now
  63. zip = "=2.4.2"
  64. time = "=0.3.39"