forked from Osteoporosis/fast_websocket_client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
44 lines (38 loc) · 1.29 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
[package]
name = "fast_websocket_client"
version = "0.2.0"
edition = "2021"
categories = ["asynchronous", "concurrency", "network-programming", "web-programming", "web-programming::websocket"]
keywords = ["async", "client", "tokio", "websocket", "wss"]
license = "Apache-2.0"
authors = ["Hyoungjun Son"]
description = "A fast asynchronous websocket client built on top of fastwebsockets library"
repository = "https://github.com/Osteoporosis/fast_websocket_client/"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[[example]]
name = "wss_client"
path = "examples/wss_client.rs"
[dependencies]
fastwebsockets = { version = "0.8", features = ["simd", "upgrade"] }
http-body-util = "0"
hyper = "1"
hyper-util = "0"
rustls-pki-types = "1"
serde = "1"
serde_json = "1"
simdutf8 = { version = "0", features = ["aarch64_neon"] }
tokio = { version = "1", default-features = false, features = ["net", "parking_lot", "rt"] }
tokio-rustls = "0.25"
url = "2"
utf-8 = "0"
webpki-roots = "0"
[features]
default = ["simd"]
simd = []
[dev-dependencies]
serde = { version = "1", features = ["derive"] }
tokio = { version = "1", default-features = false, features = ["macros", "parking_lot", "rt-multi-thread", "time"] }
[profile.release]
opt-level = 3
lto = true
codegen-units = 1