Cargo.toml 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. [package]
  2. name = "cdk-integration-tests"
  3. version = "0.6.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. http_subscription = ["cdk/http_subscription"]
  13. [dependencies]
  14. axum = "0.6.20"
  15. rand = "0.8.5"
  16. bip39 = { version = "2.0", features = ["rand"] }
  17. anyhow = "1"
  18. cdk = { path = "../cdk", features = ["mint", "wallet"] }
  19. cdk-cln = { path = "../cdk-cln" }
  20. cdk-axum = { path = "../cdk-axum" }
  21. cdk-sqlite = { path = "../cdk-sqlite" }
  22. cdk-redb = { path = "../cdk-redb" }
  23. cdk-fake-wallet = { path = "../cdk-fake-wallet" }
  24. tower-http = { version = "0.4.4", features = ["cors"] }
  25. futures = { version = "0.3.28", default-features = false, features = [
  26. "executor",
  27. ] }
  28. once_cell = "1.19.0"
  29. uuid = { version = "1", features = ["v4"] }
  30. serde = "1"
  31. serde_json = "1"
  32. # ln-regtest-rs = { path = "../../../../ln-regtest-rs" }
  33. ln-regtest-rs = { git = "https://github.com/thesimplekid/ln-regtest-rs", rev = "e0ac418675" }
  34. lightning-invoice = { version = "0.32.0", features = ["serde", "std"] }
  35. tracing = { version = "0.1", default-features = false, features = [
  36. "attributes",
  37. "log",
  38. ] }
  39. tracing-subscriber = { version = "0.3.18", features = ["env-filter"] }
  40. tower-service = "0.3.3"
  41. tokio-tungstenite = "0.24.0"
  42. [target.'cfg(not(target_arch = "wasm32"))'.dependencies]
  43. tokio = { version = "1", features = [
  44. "rt-multi-thread",
  45. "time",
  46. "macros",
  47. "sync",
  48. ] }
  49. [target.'cfg(target_arch = "wasm32")'.dependencies]
  50. tokio = { version = "1", features = ["rt", "macros", "sync", "time"] }
  51. getrandom = { version = "0.2", features = ["js"] }
  52. instant = { version = "0.1", features = ["wasm-bindgen", "inaccurate"] }
  53. [dev-dependencies]
  54. async-trait = "0.1"
  55. rand = "0.8.5"
  56. bip39 = { version = "2.0", features = ["rand"] }
  57. anyhow = "1"
  58. cdk = { path = "../cdk", features = ["mint", "wallet"] }
  59. cdk-axum = { path = "../cdk-axum" }
  60. cdk-fake-wallet = { path = "../cdk-fake-wallet" }
  61. tower-http = { version = "0.4.4", features = ["cors"] }