Cargo.toml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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-axum = { path = "../cdk-axum"}
  19. cdk-fake-wallet = { path = "../cdk-fake-wallet" }
  20. tower-http = { version = "0.4.4", features = ["cors"] }
  21. futures = { version = "0.3.28", default-features = false }
  22. once_cell = "1.19.0"
  23. uuid = { version = "1", features = ["v4"] }
  24. [target.'cfg(not(target_arch = "wasm32"))'.dependencies]
  25. tokio = { version = "1", features = [
  26. "rt-multi-thread",
  27. "time",
  28. "macros",
  29. "sync",
  30. ] }
  31. [target.'cfg(target_arch = "wasm32")'.dependencies]
  32. tokio = { version = "1", features = ["rt", "macros", "sync", "time"] }
  33. getrandom = { version = "0.2", features = ["js"] }
  34. instant = { version = "0.1", features = ["wasm-bindgen", "inaccurate"] }
  35. [dev-dependencies]
  36. rand = "0.8.5"
  37. bip39 = { version= "2.0", features = ["rand"] }
  38. anyhow = "1"
  39. cdk = { path = "../cdk", features = ["mint", "wallet"] }
  40. cdk-axum = { path = "../cdk-axum" }
  41. cdk-fake-wallet = { path = "../cdk-fake-wallet" }
  42. tower-http = { version = "0.4.4", features = ["cors"] }