Cargo.toml 1.8 KB

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