Cargo.toml 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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"]
  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. serde.workspace = true
  31. thiserror.workspace = true
  32. tracing.workspace = true
  33. tracing-subscriber.workspace = true
  34. lightning-invoice.workspace = true
  35. uuid = { workspace = true }
  36. utoipa = { workspace = true, optional = true }
  37. futures.workspace = true
  38. serde_json.workspace = true
  39. serde_with.workspace = true
  40. tonic = { workspace = true, features = ["router"] }
  41. prost.workspace = true
  42. tokio-stream.workspace = true
  43. tokio-util = { workspace = true, default-features = false }
  44. hex = "0.4"
  45. lightning = { workspace = true }
  46. [target.'cfg(not(target_arch = "wasm32"))'.dependencies]
  47. tokio = { workspace = true, features = [
  48. "rt-multi-thread",
  49. "time",
  50. "macros",
  51. "sync",
  52. "signal"
  53. ] }
  54. [target.'cfg(target_arch = "wasm32")'.dependencies]
  55. tokio = { workspace = true, features = ["rt", "macros", "sync", "time"] }
  56. [dev-dependencies]
  57. rand.workspace = true
  58. bip39.workspace = true
  59. [build-dependencies]
  60. tonic-build.workspace = true