Cargo.toml 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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. futures.workspace = true
  14. serde.workspace = true
  15. serde_json.workspace = true
  16. thiserror.workspace = true
  17. tracing.workspace = true
  18. url.workspace = true
  19. [target.'cfg(not(target_arch = "wasm32"))'.dependencies]
  20. reqwest = { workspace = true }
  21. regex = { workspace = true }
  22. tokio-tungstenite = { workspace = true, features = [
  23. "rustls", "rustls-tls-native-roots", "connect"
  24. ] }
  25. [target.'cfg(target_arch = "wasm32")'.dependencies]
  26. reqwest = { version = "0.12", default-features = false, features = ["json"] }
  27. ws_stream_wasm = "0.7"
  28. [dev-dependencies]
  29. tokio = { workspace = true, features = ["rt", "macros"] }
  30. mockito = "1"
  31. serde = { workspace = true }
  32. [lints]
  33. workspace = true