diff --git a/Cargo.toml b/Cargo.toml index baa2e1d..6bf64bd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,15 +13,18 @@ version = "0.2.1" [features] default = ["connect", "tls"] connect = ["tokio-dns-unofficial", "tokio-core", "stream"] -tls = ["tokio-tls", "native-tls", "stream"] +tls = ["tokio-tls", "native-tls", "stream", "tungstenite/tls"] stream = ["bytes"] [dependencies] futures = "0.1.13" tokio-io = "0.1.2" -tungstenite = "0.2.4" url = "1.4.0" +[dependencies.tungstenite] +version = "0.2.4" +default-features = false + [dependencies.bytes] optional = true version = "0.4.3"