Merge pull request #15 from spinda/tls-feature

Only enable tungstenite's "tls" feature when tokio-tungstenite's is enabled
pull/1/head
Daniel Abramov 7 years ago committed by GitHub
commit 035630ff23
  1. 7
      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"

Loading…
Cancel
Save