Cargo.toml 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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", "grpc-processor", "auth"]
  13. # Ensure at least one lightning backend is enabled
  14. management-rpc = ["cdk-mint-rpc"]
  15. cln = ["dep:cdk-cln"]
  16. lnd = ["dep:cdk-lnd"]
  17. lnbits = ["dep:cdk-lnbits"]
  18. fakewallet = ["dep:cdk-fake-wallet"]
  19. grpc-processor = ["dep:cdk-payment-processor"]
  20. sqlcipher = ["cdk-sqlite/sqlcipher"]
  21. # MSRV is not commited to with redb enabled
  22. redb = ["dep:cdk-redb"]
  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-redb = { workspace = true, features = [
  34. "mint",
  35. "auth"
  36. ], optional = true }
  37. cdk-sqlite = { workspace = true, features = [
  38. "mint",
  39. ] }
  40. cdk-cln = { workspace = true, optional = true }
  41. cdk-lnbits = { workspace = true, optional = true }
  42. cdk-lnd = { workspace = true, optional = true }
  43. cdk-fake-wallet = { workspace = true, optional = true }
  44. cdk-axum.workspace = true
  45. cdk-mint-rpc = { workspace = true, optional = true }
  46. cdk-payment-processor = { workspace = true, optional = true }
  47. config = { version = "0.13.3", features = ["toml"] }
  48. clap.workspace = true
  49. bitcoin.workspace = true
  50. tokio = { workspace = true, default-features = false, features = ["signal"] }
  51. tracing.workspace = true
  52. tracing-subscriber.workspace = true
  53. futures.workspace = true
  54. serde.workspace = true
  55. bip39.workspace = true
  56. tower-http = { workspace = true, features = ["compression-full", "decompression-full"] }
  57. tower = "0.5.2"
  58. lightning-invoice.workspace = true
  59. home.workspace = true
  60. url.workspace = true
  61. utoipa = { workspace = true, optional = true }
  62. utoipa-swagger-ui = { version = "9.0.0", features = ["axum"], optional = true }
  63. [build-dependencies]
  64. # Dep of utopia 2.5.0 breaks so keeping here for now
  65. zip = "=2.4.2"
  66. time = "=0.3.39"