[package] name = "tokio-tungstenite" description = "Tokio binding for Tungstenite, the Lightweight stream-based WebSocket implementation" categories = ["web-programming::websocket", "network-programming", "asynchronous", "concurrency"] keywords = ["websocket", "io", "web"] authors = ["Daniel Abramov ", "Alexey Galakhov "] license = "MIT" homepage = "https://github.com/snapview/tokio-tungstenite" documentation = "https://docs.rs/tokio-tungstenite/0.5.1" repository = "https://github.com/snapview/tokio-tungstenite" version = "0.5.1" [features] default = ["connect", "tls"] connect = ["tokio-dns-unofficial", "tokio", "stream"] tls = ["tokio-tls", "native-tls", "stream", "tungstenite/tls"] stream = ["bytes"] [dependencies] futures = "0.1.23" [dependencies.tungstenite] version = "0.6.0" default-features = false [dependencies.bytes] optional = true version = "0.4.8" [dependencies.native-tls] optional = true version = "0.2.0" [dependencies.tokio-dns-unofficial] optional = true version = "0.3.1" [dependencies.tokio] optional = true version = "0.1.7" [dependencies.tokio-tls] optional = true version = "0.1.4" [dev-dependencies] tokio-core = "0.1.12" url = "1.6.0" [patch.crates-io] tokio-tls = { git = "https://github.com/aep/tokio-tls.git", rev = "7865734d2167160cabd4422aca76b8478e643b41" }