tokio-tungstenite 0.24.0

Tokio binding for Tungstenite, the Lightweight stream-based WebSocket implementation
Documentation
[dependencies.futures-util]
default-features = false
features = ["sink", "std"]
version = "0.3.28"

[dependencies.log]
version = "0.4.17"

[dependencies.native-tls-crate]
optional = true
package = "native-tls"
version = "0.2.11"

[dependencies.rustls]
default-features = false
optional = true
version = "0.23.0"

[dependencies.rustls-native-certs]
optional = true
version = "0.8.0"

[dependencies.rustls-pki-types]
optional = true
version = "1.0"

[dependencies.tokio]
default-features = false
features = ["io-util"]
version = "1.0.0"

[dependencies.tokio-native-tls]
optional = true
version = "0.3.1"

[dependencies.tokio-rustls]
default-features = false
optional = true
version = "0.26.0"

[dependencies.tungstenite]
default-features = false
version = "0.24.0"

[dependencies.webpki-roots]
optional = true
version = "0.26.0"

[dev-dependencies.env_logger]
version = "0.10.0"

[dev-dependencies.futures-channel]
version = "0.3.28"

[dev-dependencies.http-body-util]
version = "0.1"

[dev-dependencies.hyper]
default-features = false
features = ["http1", "server"]
version = "1.0"

[dev-dependencies.hyper-util]
features = ["tokio"]
version = "0.1"

[dev-dependencies.tokio]
default-features = false
features = ["io-std", "macros", "net", "rt-multi-thread", "time"]
version = "1.27.0"

[[example]]
name = "autobahn-client"
path = "examples/autobahn-client.rs"
required-features = ["connect"]

[[example]]
name = "autobahn-server"
path = "examples/autobahn-server.rs"
required-features = ["handshake"]

[[example]]
name = "client"
path = "examples/client.rs"
required-features = ["connect"]

[[example]]
name = "echo-server"
path = "examples/echo-server.rs"
required-features = ["handshake"]

[[example]]
name = "interval-server"
path = "examples/interval-server.rs"
required-features = ["handshake"]

[[example]]
name = "server"
path = "examples/server.rs"
required-features = ["handshake"]

[[example]]
name = "server-custom-accept"
path = "examples/server-custom-accept.rs"
required-features = ["handshake"]

[[example]]
name = "server-headers"
path = "examples/server-headers.rs"
required-features = ["handshake"]

[features]
__rustls-tls = ["rustls", "rustls-pki-types", "tokio-rustls", "stream", "tungstenite/__rustls-tls", "handshake"]
connect = ["stream", "tokio/net", "handshake"]
default = ["connect", "handshake"]
handshake = ["tungstenite/handshake"]
native-tls = ["native-tls-crate", "tokio-native-tls", "stream", "tungstenite/native-tls", "handshake"]
native-tls-vendored = ["native-tls", "native-tls-crate/vendored", "tungstenite/native-tls-vendored"]
rustls-tls-native-roots = ["__rustls-tls", "rustls-native-certs"]
rustls-tls-webpki-roots = ["__rustls-tls", "webpki-roots"]
stream = []
url = ["tungstenite/url"]

[lib]
name = "tokio_tungstenite"
path = "src/lib.rs"

[package]
authors = ["Daniel Abramov <dabramov@snapview.de>", "Alexey Galakhov <agalakhov@snapview.de>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["web-programming::websocket", "network-programming", "asynchronous", "concurrency"]
description = "Tokio binding for Tungstenite, the Lightweight stream-based WebSocket implementation"
documentation = "https://docs.rs/tokio-tungstenite/0.24.0"
edition = "2018"
homepage = "https://github.com/snapview/tokio-tungstenite"
include = ["examples/**/*", "src/**/*", "LICENSE", "README.md", "CHANGELOG.md"]
keywords = ["websocket", "io", "web"]
license = "MIT"
name = "tokio-tungstenite"
readme = "README.md"
repository = "https://github.com/snapview/tokio-tungstenite"
rust-version = "1.63"
version = "0.24.0"

[package.metadata.docs.rs]
all-features = true