You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
1.3 KiB
51 lines
1.3 KiB
[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 <dabramov@snapview.de>", "Alexey Galakhov <agalakhov@snapview.de>"]
|
|
license = "MIT"
|
|
homepage = "https://github.com/snapview/tokio-tungstenite"
|
|
documentation = "https://docs.rs/tokio-tungstenite/0.6.0"
|
|
repository = "https://github.com/snapview/tokio-tungstenite"
|
|
version = "0.7.0"
|
|
|
|
[features]
|
|
default = ["connect", "tls"]
|
|
connect = ["tokio-dns-unofficial", "tokio-tcp", "stream"]
|
|
tls = ["tokio-tls", "native-tls", "stream", "tungstenite/tls"]
|
|
stream = ["bytes"]
|
|
|
|
[dependencies]
|
|
futures = "0.1.23"
|
|
tokio-io = "0.1.7"
|
|
|
|
[dependencies.tungstenite]
|
|
# Uncomment when `tungstenite-rs` is released.
|
|
# version = "0.7.0"
|
|
git = "https://github.com/snapview/tungstenite-rs"
|
|
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-tcp]
|
|
optional = true
|
|
version = "0.1.0"
|
|
|
|
[dependencies.tokio-tls]
|
|
optional = true
|
|
version = "0.2.0"
|
|
|
|
[dev-dependencies]
|
|
tokio = "0.1.7"
|
|
url = "1.6.0"
|
|
|