Cargo.toml 1.4 KB

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