-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathCargo.toml
35 lines (31 loc) · 947 Bytes
/
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
[package]
name = "axum-tws"
authors = ["Rob Wagner <[email protected]>"]
license = "MIT OR Apache-2.0"
description = "A high-performance WebSocket backend for axum powered by tokio-websockets."
repository = "https://github.com/robertwayne/axum-tws"
categories = ["web-programming"]
keywords = ["axum", "tokio-websockets"]
readme = "README.md"
version = "0.5.0"
edition = "2021"
[features]
default = []
http2 = ["hyper/http2"]
[dependencies]
axum-core = "0.5.0"
base64 = "0.22"
bytes = "1"
futures-util = { version = "0.3", features = ["sink"] }
http = "1"
hyper = "1"
hyper-util = { version = "0.1", features = ["tokio"] }
sha1 = "0.10"
tokio = { version = "1", default-features = false }
tokio-websockets = { version = "0.11", features = ["server", "ring"] }
[dev-dependencies]
axum = { version = "0.8", features = ["ws"] }
tokio = { version = "1", features = ["rt", "macros"] }
[[example]]
name = "echo_server"
path = "examples/echo_server.rs"