[dependencies.async-std]
optional = true
version = "1.0"
[dependencies.futures-io]
default-features = false
features = ["std"]
version = "0.3"
[dependencies.futures-util]
default-features = false
features = ["sink", "std"]
version = "0.3"
[dependencies.gio]
optional = true
version = "0.20"
[dependencies.glib]
optional = true
version = "0.20"
[dependencies.log]
version = "0.4"
[dependencies.openssl]
optional = true
version = "0.10"
[dependencies.pin-project-lite]
version = "0.2"
[dependencies.real-async-native-tls]
optional = true
package = "async-native-tls"
version = "0.5.0"
[dependencies.real-async-tls]
default-features = false
features = ["client"]
optional = true
package = "async-tls"
version = "0.13"
[dependencies.real-native-tls]
optional = true
package = "native-tls"
version = "0.2"
[dependencies.real-tokio-native-tls]
optional = true
package = "tokio-native-tls"
version = "0.3"
[dependencies.real-tokio-openssl]
optional = true
package = "tokio-openssl"
version = "0.6"
[dependencies.real-tokio-rustls]
default-features = false
optional = true
package = "tokio-rustls"
version = "0.26"
[dependencies.rustls-native-certs]
optional = true
version = "0.8"
[dependencies.rustls-pki-types]
optional = true
version = "1.0.1"
[dependencies.tokio]
default-features = false
features = ["net"]
optional = true
version = "1.0"
[dependencies.tungstenite]
default-features = false
version = "0.24"
[dependencies.webpki-roots]
optional = true
version = "0.26"
[dev-dependencies.async-std]
features = ["attributes", "unstable"]
version = "1.0"
[dev-dependencies.env_logger]
version = "0.10"
[dev-dependencies.futures]
version = "0.3"
[dev-dependencies.futures-channel]
version = "0.3"
[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]
features = ["full"]
version = "1.0"
[dev-dependencies.tungstenite]
features = ["url"]
version = "0.24"
[dev-dependencies.url]
version = "2.0.0"
[[example]]
name = "async-std-echo"
path = "examples/async-std-echo.rs"
required-features = ["async-std-runtime"]
[[example]]
name = "autobahn-client"
path = "examples/autobahn-client.rs"
required-features = ["async-std-runtime"]
[[example]]
name = "autobahn-server"
path = "examples/autobahn-server.rs"
required-features = ["async-std-runtime"]
[[example]]
name = "client"
path = "examples/client.rs"
required-features = ["async-std-runtime"]
[[example]]
name = "echo-server"
path = "examples/echo-server.rs"
required-features = ["async-std-runtime"]
[[example]]
name = "gio-echo"
path = "examples/gio-echo.rs"
required-features = ["gio-runtime"]
[[example]]
name = "gio-echo-server"
path = "examples/gio-echo-server.rs"
required-features = ["gio-runtime"]
[[example]]
name = "interval-server"
path = "examples/interval-server.rs"
required-features = ["async-std-runtime"]
[[example]]
name = "server"
path = "examples/server.rs"
required-features = ["async-std-runtime"]
[[example]]
name = "server-custom-accept"
path = "examples/server-custom-accept.rs"
required-features = ["tokio-runtime"]
[[example]]
name = "server-headers"
path = "examples/server-headers.rs"
required-features = ["async-std-runtime", "handshake"]
[[example]]
name = "tokio-echo"
path = "examples/tokio-echo.rs"
required-features = ["tokio-runtime"]
[features]
__rustls-tls = ["tokio-runtime", "real-tokio-rustls", "rustls-pki-types", "tungstenite/__rustls-tls"]
async-native-tls = ["async-std-runtime", "real-async-native-tls", "tungstenite/native-tls"]
async-std-runtime = ["async-std", "handshake"]
async-tls = ["real-async-tls", "handshake"]
default = ["handshake"]
gio-runtime = ["gio", "glib", "handshake"]
handshake = ["tungstenite/handshake"]
tokio-native-tls = ["tokio-runtime", "real-tokio-native-tls", "real-native-tls", "tungstenite/native-tls"]
tokio-openssl = ["tokio-runtime", "real-tokio-openssl", "openssl"]
tokio-runtime = ["tokio", "handshake"]
tokio-rustls-manual-roots = ["__rustls-tls"]
tokio-rustls-native-certs = ["__rustls-tls", "rustls-native-certs"]
tokio-rustls-webpki-roots = ["__rustls-tls", "webpki-roots"]
url = ["tungstenite/url"]
verbose-logging = []
[lib]
name = "async_tungstenite"
path = "src/lib.rs"
[package]
authors = ["Sebastian Dröge <sebastian@centricular.com>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["web-programming::websocket", "network-programming", "asynchronous", "concurrency"]
description = "Async binding for Tungstenite, the Lightweight stream-based WebSocket implementation"
documentation = "https://docs.rs/async-tungstenite"
edition = "2018"
homepage = "https://github.com/sdroege/async-tungstenite"
include = ["examples/**/*", "src/**/*", "LICENSE", "README.md", "CHANGELOG.md"]
keywords = ["websocket", "io", "web", "tokio", "async-std"]
license = "MIT"
name = "async-tungstenite"
readme = "README.md"
repository = "https://github.com/sdroege/async-tungstenite"
rust-version = "1.63"
version = "0.28.0"
[package.metadata.docs.rs]
features = ["async-std-runtime", "tokio-runtime", "gio-runtime", "async-tls", "async-native-tls", "tokio-native-tls"]