-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
67 lines (50 loc) · 1.14 KB
/
Cargo.toml
File metadata and controls
67 lines (50 loc) · 1.14 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
58
59
60
61
62
63
64
65
66
67
[package]
name = "rust-load-balancer"
version = "0.1.0"
edition = "2021"
[dependencies]
# Async runtime
tokio = { version = "1", features = ["full"] }
# HTTP
hyper = { version = "0.14", features = ["full"] }
hyper-tls = "0.5"
# Service utilities
tower = { version = "0.4", features = ["full"] }
# Error handling
anyhow = "1"
thiserror = "1.0"
# Logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["fmt", "env-filter"] }
# Async utilities
futures = "0.3"
async-trait = "0.1"
# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_yaml = "0.9"
serde_json = "1.0"
# Configuration
config = "0.13"
# Metrics
prometheus = "0.13"
# Time handling
chrono = "0.4"
# HTTP client for health checks
reqwest = { version = "0.11", features = ["json"] }
# Concurrent data structures
dashmap = "5.5"
arc-swap = "1.6"
# URL parsing
url = { version = "2", features = ["serde"] }
# For weighted random selection
rand = "0.8"
# UUID for request tracing
uuid = { version = "1.6", features = ["v4"] }
[dev-dependencies]
mockito = "1.2"
proptest = "1.4"
[profile.release]
lto = true
codegen-units = 1
panic = "abort"
opt-level = 3