forked from snapview/tungstenite-rs
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
72 lines (62 loc) · 1.81 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
[package]
name = "tungstenite"
description = "Lightweight stream-based WebSocket implementation"
categories = ["web-programming::websocket", "network-programming"]
keywords = ["websocket", "io", "web"]
authors = ["Alexey Galakhov", "Daniel Abramov"]
license = "MIT/Apache-2.0"
readme = "README.md"
homepage = "https://github.com/snapview/tungstenite-rs"
documentation = "https://docs.rs/tungstenite/0.17.3"
repository = "https://github.com/snapview/tungstenite-rs"
version = "0.17.3"
edition = "2018"
rust-version = "1.51"
include = ["benches/**/*", "src/**/*", "LICENSE-*", "README.md", "CHANGELOG.md"]
[package.metadata.docs.rs]
all-features = true
[features]
default = ["handshake"]
handshake = ["base64", "http", "httparse", "sha1", "url"]
native-tls = ["native-tls-crate"]
native-tls-vendored = ["native-tls", "native-tls-crate/vendored"]
rustls-tls-native-roots = ["__rustls-tls", "rustls-native-certs"]
rustls-tls-webpki-roots = ["__rustls-tls", "webpki-roots"]
__rustls-tls = ["rustls", "webpki"]
[dependencies]
base64 = { version = "0.13.0", optional = true }
byteorder = "1.3.2"
bytes = "1.0"
http = { version = "0.2", optional = true }
httparse = { version = "1.3.4", optional = true }
log = "0.4.8"
rand = "0.8.0"
sha1 = { version = "0.10", optional = true }
thiserror = "1.0.23"
url = { version = "2.1.0", optional = true }
utf-8 = "0.7.5"
[dependencies.native-tls-crate]
optional = true
package = "native-tls"
version = "0.2.3"
[dependencies.rustls]
optional = true
version = "0.20.0"
[dependencies.rustls-native-certs]
optional = true
version = "0.6.0"
[dependencies.webpki]
optional = true
version = "0.22"
[dependencies.webpki-roots]
optional = true
version = "0.22"
[dev-dependencies]
criterion = "0.4.0"
env_logger = "0.9.0"
input_buffer = "0.5.0"
net2 = "0.2.37"
rand = "0.8.4"
[[bench]]
name = "buffer"
harness = false