Cargo.toml 1.7 KB

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