Cargo.toml 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. [package]
  2. name = "cdk-payment-processor"
  3. version.workspace = true
  4. edition.workspace = true
  5. authors = ["CDK Developers"]
  6. description = "CDK payment processor"
  7. homepage = "https://github.com/cashubtc/cdk"
  8. repository = "https://github.com/cashubtc/cdk.git"
  9. rust-version.workspace = true # MSRV
  10. license.workspace = true
  11. readme = "README.md"
  12. [[bin]]
  13. name = "cdk-payment-processor"
  14. path = "src/bin/payment_processor.rs"
  15. [features]
  16. default = ["cln", "fake", "lnd"]
  17. bench = []
  18. cln = ["dep:cdk-cln", "dep:cdk-sqlite"]
  19. fake = ["dep:cdk-fake-wallet"]
  20. lnd = ["dep:cdk-lnd"]
  21. [dependencies]
  22. anyhow.workspace = true
  23. async-trait.workspace = true
  24. bitcoin.workspace = true
  25. cashu.workspace = true
  26. cdk-common = { workspace = true, features = ["mint"] }
  27. cdk-cln = { workspace = true, optional = true }
  28. cdk-lnd = { workspace = true, optional = true }
  29. cdk-fake-wallet = { workspace = true, optional = true }
  30. cdk-sqlite = { workspace = true, optional = true }
  31. clap = { workspace = true, features = ["derive"] }
  32. serde.workspace = true
  33. thiserror.workspace = true
  34. tracing.workspace = true
  35. tracing-subscriber.workspace = true
  36. lightning-invoice.workspace = true
  37. uuid = { workspace = true }
  38. utoipa = { workspace = true, optional = true }
  39. futures.workspace = true
  40. serde_json.workspace = true
  41. serde_with.workspace = true
  42. tonic = { workspace = true, features = ["router"] }
  43. prost.workspace = true
  44. tokio-stream.workspace = true
  45. tokio-util = { workspace = true, default-features = false }
  46. hex = "0.4"
  47. lightning = { workspace = true }
  48. [target.'cfg(not(target_arch = "wasm32"))'.dependencies]
  49. tokio = { workspace = true, features = [
  50. "rt-multi-thread",
  51. "time",
  52. "macros",
  53. "sync",
  54. "signal"
  55. ] }
  56. [target.'cfg(target_arch = "wasm32")'.dependencies]
  57. tokio = { workspace = true, features = ["rt", "macros", "sync", "time"] }
  58. uuid = { workspace = true, features = ["js"], optional = true }
  59. [dev-dependencies]
  60. rand.workspace = true
  61. bip39.workspace = true
  62. [build-dependencies]
  63. tonic-build.workspace = true