Cargo.toml 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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 = ["transport", "tls-ring", "codegen", "router"] }
  43. tonic-prost.workspace = true
  44. prost.workspace = true
  45. tokio-stream.workspace = true
  46. tokio-util = { workspace = true, default-features = false }
  47. hex = "0.4"
  48. lightning = { workspace = true }
  49. [target.'cfg(not(target_arch = "wasm32"))'.dependencies]
  50. tokio = { workspace = true, features = [
  51. "rt-multi-thread",
  52. "time",
  53. "macros",
  54. "sync",
  55. "signal"
  56. ] }
  57. [target.'cfg(target_arch = "wasm32")'.dependencies]
  58. tokio = { workspace = true, features = ["rt", "macros", "sync", "time"] }
  59. uuid = { workspace = true, features = ["js"], optional = true }
  60. [dev-dependencies]
  61. rand.workspace = true
  62. bip39.workspace = true
  63. [build-dependencies]
  64. tonic-prost-build.workspace = true
  65. [lints]
  66. workspace = true