Cargo.toml 1007 B

1234567891011121314151617181920212223242526272829303132333435
  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. tokio-tungstenite = { workspace = true, features = ["rustls", "rustls-tls-native-roots", "connect"] }
  21. futures = { workspace = true }
  22. tokio = { workspace = true }
  23. [target.'cfg(target_arch = "wasm32")'.dependencies]
  24. reqwest = { version = "0.12", default-features = false, features = ["json"] }
  25. [dev-dependencies]
  26. tokio = { workspace = true, features = ["rt", "macros"] }
  27. mockito = "1"
  28. serde = { workspace = true }
  29. [lints]
  30. workspace = true