async-tungstenite/Cargo.toml

47 lines
1.2 KiB
TOML

[package]
name = "async-tungstenite"
description = "async-std binding for Tungstenite, the Lightweight stream-based WebSocket implementation"
categories = ["web-programming::websocket", "network-programming", "asynchronous", "concurrency"]
keywords = ["websocket", "io", "web"]
authors = ["Sebastian Dröge <sebastian@centricular.com>"]
license = "MIT"
homepage = "https://github.com/sdroege/async-tungstenite"
repository = "https://github.com/sdroege/async-tungstenite"
version = "0.1.0"
edition = "2018"
[features]
default = ["connect", "tls", "async_std_runtime"]
connect = ["stream"]
async_std_runtime = ["connect", "tls", "async-std"]
tls = ["async-tls", "stream"]
stream = ["bytes"]
[dependencies]
log = "0.4"
futures = { version = "0.3", features = ["async-await"] }
pin-project = "0.4.0-alpha.9"
[dependencies.tungstenite]
#version = "0.9.2"
git = "https://github.com/snapview/tungstenite-rs.git"
branch = "master"
default-features = false
[dependencies.bytes]
optional = true
version = "0.4.8"
[dependencies.async-std]
optional = true
version = "1.0"
[dependencies.async-tls]
optional = true
version = "0.6.0"
[dev-dependencies]
url = "2.0.0"
env_logger = "0.7"
async-std = { version = "1.0", features = ["attributes"] }