Cargo.toml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. [package]
  2. name = "cdk-payment-processor"
  3. version = "0.7.1"
  4. edition = "2021"
  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 = "1.75.0" # MSRV
  10. license = "MIT"
  11. [[bin]]
  12. name = "cdk-payment-processor"
  13. path = "src/bin/payment_processor.rs"
  14. [features]
  15. default = ["cln", "fake", "lnd"]
  16. bench = []
  17. cln = ["dep:cdk-cln"]
  18. fake = ["dep:cdk-fake-wallet"]
  19. lnd = ["dep:cdk-lnd"]
  20. [dependencies]
  21. anyhow.workspace = true
  22. async-trait.workspace = true
  23. bitcoin.workspace = true
  24. cdk-common = { workspace = true, features = ["mint"] }
  25. cdk-cln = { workspace = true, optional = true }
  26. cdk-lnd = { workspace = true, optional = true }
  27. cdk-fake-wallet = { workspace = true, optional = true }
  28. serde.workspace = true
  29. thiserror.workspace = true
  30. tracing.workspace = true
  31. tracing-subscriber.workspace = true
  32. lightning-invoice.workspace = true
  33. uuid = { workspace = true, optional = true }
  34. utoipa = { workspace = true, optional = true }
  35. futures.workspace = true
  36. serde_json.workspace = true
  37. serde_with.workspace = true
  38. tonic.workspace = true
  39. prost.workspace = true
  40. tokio-stream.workspace = true
  41. tokio-util = { workspace = true, default-features = false }
  42. [target.'cfg(not(target_arch = "wasm32"))'.dependencies]
  43. tokio = { workspace = true, features = [
  44. "rt-multi-thread",
  45. "time",
  46. "macros",
  47. "sync",
  48. "signal"
  49. ] }
  50. [target.'cfg(target_arch = "wasm32")'.dependencies]
  51. tokio = { workspace = true, features = ["rt", "macros", "sync", "time"] }
  52. [dev-dependencies]
  53. rand.workspace = true
  54. bip39.workspace = true
  55. [build-dependencies]
  56. tonic-build.workspace = true