Cargo.toml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. [package]
  2. name = "cdk-integration-tests"
  3. version = "0.4.0"
  4. edition = "2021"
  5. authors = ["CDK Developers"]
  6. description = "Core Cashu Development Kit library implementing the Cashu protocol"
  7. license = "MIT"
  8. homepage = "https://github.com/cashubtc/cdk"
  9. repository = "https://github.com/cashubtc/cdk.git"
  10. rust-version = "1.63.0" # MSRV
  11. [features]
  12. [dependencies]
  13. axum = "0.6.20"
  14. rand = "0.8.5"
  15. bip39 = { version = "2.0", features = ["rand"] }
  16. anyhow = "1"
  17. cdk = { path = "../cdk", version = "0.4.0", features = ["mint", "wallet"] }
  18. cdk-cln = { path = "../cdk-cln", version = "0.4.0" }
  19. cdk-axum = { path = "../cdk-axum" }
  20. cdk-sqlite = { path = "../cdk-sqlite" }
  21. cdk-redb = { path = "../cdk-redb" }
  22. cdk-fake-wallet = { path = "../cdk-fake-wallet" }
  23. tower-http = { version = "0.4.4", features = ["cors"] }
  24. futures = { version = "0.3.28", default-features = false, features = [
  25. "executor",
  26. ] }
  27. once_cell = "1.19.0"
  28. uuid = { version = "1", features = ["v4"] }
  29. serde = "1"
  30. serde_json = "1"
  31. # ln-regtest-rs = { path = "../../../../ln-regtest-rs" }
  32. ln-regtest-rs = { git = "https://github.com/thesimplekid/ln-regtest-rs", rev = "1d88d3d0b" }
  33. lightning-invoice = { version = "0.32.0", features = ["serde", "std"] }
  34. tracing = { version = "0.1", default-features = false, features = [
  35. "attributes",
  36. "log",
  37. ] }
  38. tracing-subscriber = { version = "0.3.18", features = ["env-filter"] }
  39. tower-service = "0.3.3"
  40. tokio-tungstenite = "0.24.0"
  41. [target.'cfg(not(target_arch = "wasm32"))'.dependencies]
  42. tokio = { version = "1", features = [
  43. "rt-multi-thread",
  44. "time",
  45. "macros",
  46. "sync",
  47. ] }
  48. [target.'cfg(target_arch = "wasm32")'.dependencies]
  49. tokio = { version = "1", features = ["rt", "macros", "sync", "time"] }
  50. getrandom = { version = "0.2", features = ["js"] }
  51. instant = { version = "0.1", features = ["wasm-bindgen", "inaccurate"] }
  52. [dev-dependencies]
  53. rand = "0.8.5"
  54. bip39 = { version = "2.0", features = ["rand"] }
  55. anyhow = "1"
  56. cdk = { path = "../cdk", features = ["mint", "wallet"] }
  57. cdk-axum = { path = "../cdk-axum" }
  58. cdk-fake-wallet = { path = "../cdk-fake-wallet" }
  59. tower-http = { version = "0.4.4", features = ["cors"] }