Cargo.toml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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"]
  13. # Ensure at least one lightning backend is enabled
  14. swagger = ["cdk-axum/swagger", "dep:utoipa", "dep:utoipa-swagger-ui"]
  15. redis = ["cdk-axum/redis"]
  16. management-rpc = ["cdk-mint-rpc"]
  17. # MSRV is not commited to with redb enabled
  18. redb = ["dep:cdk-redb"]
  19. cln = ["dep:cdk-cln"]
  20. lnd = ["dep:cdk-lnd"]
  21. lnbits = ["dep:cdk-lnbits"]
  22. fakewallet = ["dep:cdk-fake-wallet"]
  23. [dependencies]
  24. anyhow.workspace = true
  25. async-trait.workspace = true
  26. axum.workspace = true
  27. cdk = { workspace = true, features = [
  28. "mint",
  29. ] }
  30. cdk-redb = { workspace = true, features = [
  31. "mint",
  32. ], optional = true }
  33. cdk-sqlite = { workspace = true, features = [
  34. "mint",
  35. ] }
  36. cdk-cln = { workspace = true, optional = true }
  37. cdk-lnbits = { workspace = true, optional = true }
  38. cdk-lnd = { workspace = true, optional = true }
  39. cdk-fake-wallet = { workspace = true, optional = true }
  40. cdk-axum.workspace = true
  41. cdk-mint-rpc = { workspace = true, optional = true }
  42. config = { version = "0.13.3", features = ["toml"] }
  43. clap.workspace = true
  44. bitcoin.workspace = true
  45. tokio = { workspace = true, default-features = false, features = ["signal"] }
  46. tracing.workspace = true
  47. tracing-subscriber.workspace = true
  48. futures.workspace = true
  49. serde.workspace = true
  50. bip39.workspace = true
  51. tower-http = { workspace = true, features = ["compression-full", "decompression-full"] }
  52. tower = "0.5.2"
  53. lightning-invoice.workspace = true
  54. home = "0.5.5"
  55. url.workspace = true
  56. utoipa = { workspace = true, optional = true }
  57. utoipa-swagger-ui = { version = "9.0.0", features = ["axum"], optional = true }