Cargo.toml 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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"]
  21. sqlcipher = ["cdk-sqlite/sqlcipher"]
  22. # MSRV is not commited to with redb enabled
  23. redb = ["dep:cdk-redb"]
  24. swagger = ["cdk-axum/swagger", "dep:utoipa", "dep:utoipa-swagger-ui"]
  25. redis = ["cdk-axum/redis"]
  26. auth = ["cdk/auth", "cdk-sqlite/auth"]
  27. [dependencies]
  28. anyhow.workspace = true
  29. async-trait.workspace = true
  30. axum.workspace = true
  31. cdk = { workspace = true, features = [
  32. "mint",
  33. ] }
  34. cdk-redb = { workspace = true, features = [
  35. "mint",
  36. "auth"
  37. ], optional = true }
  38. cdk-sqlite = { workspace = true, features = [
  39. "mint",
  40. ] }
  41. cdk-cln = { workspace = true, optional = true }
  42. cdk-lnbits = { workspace = true, optional = true }
  43. cdk-lnd = { workspace = true, optional = true }
  44. cdk-fake-wallet = { workspace = true, optional = true }
  45. cdk-axum.workspace = true
  46. cdk-mint-rpc = { workspace = true, optional = true }
  47. cdk-payment-processor = { workspace = true, optional = true }
  48. config = { version = "0.13.3", features = ["toml"] }
  49. clap.workspace = true
  50. bitcoin.workspace = true
  51. tokio = { workspace = true, default-features = false, features = ["signal"] }
  52. tracing.workspace = true
  53. tracing-subscriber.workspace = true
  54. futures.workspace = true
  55. serde.workspace = true
  56. bip39.workspace = true
  57. tower-http = { workspace = true, features = ["compression-full", "decompression-full"] }
  58. tower = "0.5.2"
  59. lightning-invoice.workspace = true
  60. home.workspace = true
  61. url.workspace = true
  62. utoipa = { workspace = true, optional = true }
  63. utoipa-swagger-ui = { version = "9.0.0", features = ["axum"], optional = true }
  64. [build-dependencies]
  65. # Dep of utopia 2.5.0 breaks so keeping here for now
  66. zip = "=2.4.2"
  67. time = "=0.3.39"