[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.3.0" repository = "https://github.com/snapview/tokio-tungstenite" version = "0.3.0" [features] default = ["connect", "tls"] connect = ["tokio-dns-unofficial", "tokio-core", "stream"] tls = ["tokio-tls", "native-tls", "stream", "tungstenite/tls"] stream = ["bytes"] [dependencies] futures = "0.1.14" tokio-io = "0.1.2" [dependencies.tungstenite] git = "https://github.com/snapview/tungstenite-rs.git" branch = "request_minor" default-features = false [dependencies.bytes] optional = true version = "0.4.4" [dependencies.native-tls] optional = true version = "0.1.4" [dependencies.tokio-dns-unofficial] optional = true version = "0.1.1" [dependencies.tokio-core] optional = true version = "0.1.9" [dependencies.tokio-tls] optional = true version = "0.1.3" [dev-dependencies] tokio-core = "0.1.9" url = "1.5.1"