# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "reqwest-websocket" version = "0.4.1" authors = ["Janosch Gräf "] description = "WebSocket connections with reqwest" homepage = "https://github.com/jgraef/reqwest-websocket" readme = "README.md" keywords = [ "websocket", "reqwest", "stream", ] categories = [ "network-programming", "web-programming::http-client", "web-programming::websocket", ] license = "MIT" repository = "https://github.com/jgraef/reqwest-websocket" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [dependencies.futures-channel] version = "0.3" features = [ "sink", "std", ] default-features = false [dependencies.futures-util] version = "0.3" features = [ "sink", "std", "async-await-macro", ] default-features = false [dependencies.reqwest] version = "0.12" default-features = false [dependencies.serde] version = "1.0" optional = true default-features = false [dependencies.serde_json] version = "1.0" features = ["alloc"] optional = true default-features = false [dependencies.thiserror] version = "1" [dependencies.tracing] version = "0.1" [dev-dependencies.reqwest] version = "0.12" features = ["default-tls"] [dev-dependencies.serde] version = "1.0" features = ["derive"] [dev-dependencies.tokio] version = "1" features = [ "macros", "rt", ] [features] json = [ "dep:serde", "dep:serde_json", ] [target."cfg(not(target_arch = \"wasm32\"))".dependencies.async-tungstenite] version = "0.26" default-features = false [target."cfg(not(target_arch = \"wasm32\"))".dependencies.tokio-util] version = "0.7" features = ["compat"] default-features = false [target."cfg(not(target_arch = \"wasm32\"))".dependencies.tungstenite] version = "0.23" features = ["handshake"] default-features = false [target."cfg(target_arch = \"wasm32\")".dependencies.wasm-bindgen-futures] version = "0.4" [target."cfg(target_arch = \"wasm32\")".dependencies.web-sys] version = "0.3" features = [ "WebSocket", "CloseEvent", "ErrorEvent", "Event", "MessageEvent", "BinaryType", ] [target."cfg(target_arch = \"wasm32\")".dev-dependencies.wasm-bindgen-test] version = "0.3"