|
|
@ -13,15 +13,18 @@ version = "0.2.1" |
|
|
|
[features] |
|
|
|
[features] |
|
|
|
default = ["connect", "tls"] |
|
|
|
default = ["connect", "tls"] |
|
|
|
connect = ["tokio-dns-unofficial", "tokio-core", "stream"] |
|
|
|
connect = ["tokio-dns-unofficial", "tokio-core", "stream"] |
|
|
|
tls = ["tokio-tls", "native-tls", "stream"] |
|
|
|
tls = ["tokio-tls", "native-tls", "stream", "tungstenite/tls"] |
|
|
|
stream = ["bytes"] |
|
|
|
stream = ["bytes"] |
|
|
|
|
|
|
|
|
|
|
|
[dependencies] |
|
|
|
[dependencies] |
|
|
|
futures = "0.1.13" |
|
|
|
futures = "0.1.13" |
|
|
|
tokio-io = "0.1.2" |
|
|
|
tokio-io = "0.1.2" |
|
|
|
tungstenite = "0.2.4" |
|
|
|
|
|
|
|
url = "1.4.0" |
|
|
|
url = "1.4.0" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[dependencies.tungstenite] |
|
|
|
|
|
|
|
version = "0.2.4" |
|
|
|
|
|
|
|
default-features = false |
|
|
|
|
|
|
|
|
|
|
|
[dependencies.bytes] |
|
|
|
[dependencies.bytes] |
|
|
|
optional = true |
|
|
|
optional = true |
|
|
|
version = "0.4.3" |
|
|
|
version = "0.4.3" |
|
|
|