forked from websockets-rs/rust-websocket
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
42 lines (34 loc) · 1.14 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
[package]
name = "websocket"
version = "0.22.3"
authors = ["cyderize <[email protected]>", "Michael Eden <[email protected]>"]
description = "A WebSocket (RFC6455) library for Rust."
documentation = "https://docs.rs/websocket/"
repository = "https://github.com/websockets-rs/rust-websocket"
readme = "README.md"
keywords = ["websocket", "websockets", "rfc6455", "async", "tokio"]
categories = ["asynchronous", "network-programming", "web-programming", "web-programming::websocket"]
license = "MIT"
[dependencies]
hyper = "^0.10.6"
unicase = "1.0"
url = "1.0"
bitflags = "1.0.4"
rand = "0.6.1"
byteorder = "1.0"
sha1 = "0.6"
base64 = "0.10.0"
futures = { version = "0.1", optional = true }
tokio = { version = "0.1", optional = true }
tokio-tls = { version = "0.2.0", optional = true }
bytes = { version = "0.4", optional = true }
native-tls = { version = "0.2.1", optional = true }
[dev-dependencies]
futures-cpupool = "0.1"
[features]
default = ["sync", "sync-ssl", "async", "async-ssl"]
sync = []
sync-ssl = ["native-tls", "sync"]
async = ["tokio", "bytes", "futures"]
async-ssl = ["native-tls", "tokio-tls", "async"]
nightly = ["hyper/nightly"]