forked from denoland/fastwebsockets
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
58 lines (52 loc) · 1.67 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
[package]
name = "framed-websockets"
description = "A fast RFC6455 WebSocket server implementation"
version = "0.1.0"
authors = ["Conrad Ludgate <[email protected]>"]
license = "Apache-2.0"
edition = "2021"
repository = "https://github.com/neondatabase/framed-websockets"
[dependencies]
futures-core = "0.3"
futures-sink = "0.3"
tokio = { version = "1.25.0", default-features = false, features = ["io-util"] }
tokio-util = { version = "0.7.0", features = ["codec"] }
hyper-util = { version = "0.1.0", features = ["tokio"] }
http-body-util = { version = "0.1.0" }
hyper = { version = "1", features = ["http1", "server"] }
pin-project = { version = "1.0.8" }
base64 = { version = "0.21.0" }
sha1 = { version = "0.10.5" }
rand = "0.8.4"
thiserror = "1.0.40"
bytes = "1.5.0"
bytemuck = "1"
# Axum integration
axum-core = { version = "0.4.3", optional = true }
http = { version = "1", optional = true }
async-trait = { version = "0.1", optional = true }
[features]
default = []
[dev-dependencies]
futures-util = { version = "0.3", features = ["sink"] }
fastwebsockets = { version = "0.7.1", features = ["upgrade"] }
tokio = { version = "1.25.0", features = ["full", "macros"] }
tokio-rustls = "0.24.0"
rustls-pemfile = "1.0"
hyper-util = { version = "0.1.0", features = ["tokio"] }
http-body-util = { version = "0.1.0" }
hyper = { version = "1", features = ["http1", "server", "client"] }
assert2 = "0.3.4"
trybuild = "1.0.80"
criterion = "0.4.0"
anyhow = "1.0.71"
webpki-roots = "0.23.0"
bytes = "1.4.0"
# Build release with debug symbols: cargo build --profile=release-with-debug
[profile.release-with-debug]
inherits = "release"
debug = true
[profile.release]
opt-level = 3
lto = true
codegen-units = 1