Cargo.toml 845 B

1234567891011121314151617181920212223242526272829303132
  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. reqwest = { workspace = true }
  19. regex = { workspace = true }
  20. [target.'cfg(target_arch = "wasm32")'.dependencies]
  21. reqwest = { version = "0.12", default-features = false, features = ["json"] }
  22. [dev-dependencies]
  23. tokio = { workspace = true, features = ["rt", "macros"] }
  24. mockito = "1"
  25. serde = { workspace = true }
  26. [lints]
  27. workspace = true