-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
38 lines (32 loc) · 955 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
36
37
38
[package]
name = "axum-websockify"
version = "0.1.0"
edition = "2021"
authors = [
"Jovi Hsu <[email protected]>"
]
categories = ["web-programming"]
description = "A simple websockify implement using axum"
license = "BSD 3-Clause"
readme = "README.md"
repository = "https://www.github.com/HsuJv/axum-websockify"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
axum = { version = "0.5", features = ["ws", "headers"] }
axum-server = { version = "0.3", features = ["tls-rustls"] }
headers = "0.3"
tokio = { version = "1.0", features = ["full"] }
tokio-rustls = { version = "0.23", optional = true }
tower = { version = "0.4", features = ["limit"] }
tower-http = { version = "0.3.0", features = ["fs", "trace"] }
clap = "2"
anyhow = "1"
paste = "1"
log = "0.4"
pretty_env_logger = "0.4"
[features]
ssl = ["dep:tokio-rustls"]
[profile.dev]
opt-level = 0
[profile.release]
opt-level = 3