-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
37 lines (32 loc) · 1.01 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
[package]
name = "fkm-proxy"
version = "0.1.0"
edition = "2021"
[[bin]]
name = "fkm-proxy-client"
path = "src/client/main.rs"
[[bin]]
name = "fkm-proxy-server"
path = "src/server/main.rs"
[dependencies]
anyhow = "1.0.86"
highway = "1.2.0"
kanal = "0.1.0-pre8"
thiserror = "1.0.63"
tokio = { version = "1.39.3", features = ["macros", "rt-multi-thread"] }
tokio-rustls = { version = "0.26.0", features = ["ring", "logging", "tls12"], default-features = false }
clap = { version = "4.5.16", features = ["derive", "env"] }
dotenvy = "0.15.7"
rcgen = "0.13.1"
tracing = "0.1.40"
tracing-subscriber = "0.3.18"
serde = { version = "1.0.209", features = ["derive"] }
serde_json = "1.0.127"
utils = { path = "./utils" }
qls-proto-utils = "0.1.0"
[profile.release]
opt-level = "z" # Optimize for size.
lto = true # Enable Link Time Optimization
codegen-units = 1 # Reduce number of codegen units to increase optimizations.
panic = "abort" # Abort on panic
strip = true # Automatically strip symbols from the binary.