[dependencies.alloy-pubsub]
default-features = false
version = "0.6"
[dependencies.alloy-transport]
default-features = false
version = "0.6"
[dependencies.futures]
version = "0.3"
[dependencies.serde_json]
default-features = false
features = ["alloc"]
version = "1.0"
[dependencies.tokio]
features = ["sync", "rt"]
version = "1"
[dependencies.tracing]
version = "0.1"
[lib]
name = "alloy_transport_ws"
path = "src/lib.rs"
[lints.clippy]
missing-const-for-fn = "warn"
option-if-let-else = "warn"
redundant-clone = "warn"
use-self = "warn"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.rust]
missing-debug-implementations = "warn"
missing-docs = "warn"
rust-2018-idioms = "deny"
unnameable-types = "warn"
unreachable-pub = "warn"
unused-must-use = "deny"
[lints.rustdoc]
all = "warn"
[package]
authors = ["Alloy Contributors"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "Websocket transport implementation"
edition = "2021"
exclude = ["benches/", "tests/"]
homepage = "https://github.com/alloy-rs/alloy"
license = "MIT OR Apache-2.0"
name = "alloy-transport-ws"
readme = "README.md"
repository = "https://github.com/alloy-rs/alloy"
rust-version = "1.79"
version = "0.6.1"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.http]
version = "1.1"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.rustls]
default-features = false
features = ["std", "tls12", "ring"]
version = "0.23"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio]
features = ["sync", "rt", "time"]
version = "1"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio-tungstenite]
features = ["rustls-tls-webpki-roots"]
version = "0.24"
[target.'cfg(target_arch = "wasm32")'.dependencies.ws_stream_wasm]
version = "0.7.4"