[[bench]]
harness = false
name = "buffer"
[[bench]]
harness = false
name = "write"
[[example]]
name = "client"
required-features = ["handshake"]
[[example]]
name = "server"
required-features = ["handshake"]
[[example]]
name = "autobahn-client"
required-features = ["handshake"]
[[example]]
name = "autobahn-server"
required-features = ["handshake"]
[[example]]
name = "callback-error"
required-features = ["handshake"]
[[example]]
name = "srv_accept_unmasked_frames"
required-features = ["handshake"]
[dependencies.byteorder]
version = "1.3.2"
[dependencies.bytes]
version = "1.0"
[dependencies.data-encoding]
optional = true
version = "2"
[dependencies.http]
optional = true
version = "1.0"
[dependencies.httparse]
optional = true
version = "1.3.4"
[dependencies.log]
version = "0.4.8"
[dependencies.native-tls-crate]
optional = true
package = "native-tls"
version = "0.2.3"
[dependencies.rand]
version = "0.8.0"
[dependencies.rustls]
default-features = false
features = ["std"]
optional = true
version = "0.23.0"
[dependencies.rustls-native-certs]
optional = true
version = "0.7.0"
[dependencies.rustls-pki-types]
optional = true
version = "1.0"
[dependencies.sha1]
optional = true
version = "0.10"
[dependencies.thiserror]
version = "1.0.23"
[dependencies.url]
optional = true
version = "2.1.0"
[dependencies.utf-8]
version = "0.7.5"
[dependencies.webpki-roots]
optional = true
version = "0.26"
[dev-dependencies.criterion]
version = "0.5.0"
[dev-dependencies.env_logger]
version = "0.10.0"
[dev-dependencies.input_buffer]
version = "0.5.0"
[dev-dependencies.rand]
version = "0.8.4"
[dev-dependencies.socket2]
version = "0.5.5"
[features]
__rustls-tls = ["rustls", "rustls-pki-types"]
default = ["handshake"]
handshake = ["data-encoding", "http", "httparse", "sha1"]
native-tls = ["native-tls-crate"]
native-tls-vendored = ["native-tls", "native-tls-crate/vendored"]
rustls-tls-native-roots = ["__rustls-tls", "rustls-native-certs"]
rustls-tls-webpki-roots = ["__rustls-tls", "webpki-roots"]
url = ["dep:url"]
[package]
authors = ["Alexey Galakhov", "Daniel Abramov"]
categories = ["web-programming::websocket", "network-programming"]
description = "Lightweight stream-based WebSocket implementation"
documentation = "https://docs.rs/tungstenite/0.23.0"
edition = "2018"
homepage = "https://github.com/snapview/tungstenite-rs"
include = ["benches/**/*", "src/**/*", "examples/**/*", "LICENSE-*", "README.md", "CHANGELOG.md"]
keywords = ["websocket", "io", "web"]
license = "MIT OR Apache-2.0"
name = "tungstenite"
readme = "README.md"
repository = "https://github.com/snapview/tungstenite-rs"
rust-version = "1.60"
version = "0.23.0"
[package.metadata.docs.rs]
all-features = true