-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
57 lines (50 loc) · 1.51 KB
/
Copy pathCargo.toml
File metadata and controls
57 lines (50 loc) · 1.51 KB
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
[package]
name = "Edgeproxy"
version = "0.1.0"
edition = "2024"
[dependencies]
tokio = { version = "1", features = ["full"] }
axum = "0.7"
http = "1"
tower = { version = "0.4", features = ["util", "limit", "load-shed"] }
hyper = { version = "1", features = ["http1", "server"]}
hyper-util = {version = "0.1", features = ["client-legacy", "http1", "tokio", "server", "server-auto", "server-graceful", "service"]}
bytes = "1"
http-body = "1"
http-body-util = "0.1"
tracing = "0.1.44"
tracing-subscriber = { version = "0.3.23", features = ["json", "env-filter"] }
serde = { version = "1", features = ["derive"] }
serde_yaml_ng = "0.10"
clap = { version = "4", features = ["derive"] }
thiserror = "2"
dotenvy = "0.15"
metrics = "0.23"
metrics-exporter-prometheus = "0.15"
uuid = { version = "1", features = ["v4"] }
pin-project-lite = "0.2"
tikv-jemallocator = "0.6"
opentelemetry = "0.27"
opentelemetry_sdk = { version = "0.27", features = ["trace", "rt-tokio"] }
opentelemetry-otlp = { version = "0.27", features = ["grpc-tonic"] }
tracing-opentelemetry = "0.28"
# Keep debug symbols in release for perf profiling (no perf cost, small binary size increase)
[profile.release]
debug = 1
# Frame pointers for fast perf unwinding (avoids slow DWARF unwinding)
force-frame-pointers = true
[dev-dependencies]
proptest = "1"
criterion = "0.5"
[[bin]]
name = "bench-upstream"
path = "bench/upstream/main.rs"
[[bench]]
name = "hotpath"
harness = false
[[bench]]
name = "contention"
harness = false
[[bench]]
name = "added_latency"
harness = false