Cargo.toml 943 B

123456789101112131415161718192021222324252627282930313233
  1. [package]
  2. name = "cdk-http-client"
  3. version.workspace = true
  4. authors = ["CDK Developers"]
  5. description = "HTTP client abstraction for CDK"
  6. homepage = "https://github.com/cashubtc/cdk"
  7. repository = "https://github.com/cashubtc/cdk.git"
  8. edition.workspace = true
  9. rust-version.workspace = true
  10. license.workspace = true
  11. readme = "README.md"
  12. [dependencies]
  13. serde.workspace = true
  14. serde_json.workspace = true
  15. thiserror.workspace = true
  16. url.workspace = true
  17. [target.'cfg(not(target_arch = "wasm32"))'.dependencies]
  18. bitreq = { version = "0.3.1", features = ["async", "async-https-rustls", "json-using-serde", "proxy"] }
  19. serde_urlencoded = "0.7"
  20. regex = { workspace = true }
  21. [target.'cfg(target_arch = "wasm32")'.dependencies]
  22. reqwest = { version = "0.12", default-features = false, features = ["json"] }
  23. [dev-dependencies]
  24. tokio = { workspace = true, features = ["rt", "macros"] }
  25. mockito = "1"
  26. serde = { workspace = true }
  27. [lints]
  28. workspace = true