-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy pathCargo.toml
More file actions
33 lines (28 loc) · 1.08 KB
/
Cargo.toml
File metadata and controls
33 lines (28 loc) · 1.08 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
[package]
authors = ["Twilight Contributors"]
edition = "2024"
name = "twilight-http-proxy"
version = "0.1.0"
[dependencies]
dashmap = "6"
http = "1"
http-body-util = "0.1"
hyper = { version = "1", default-features = false }
hyper-rustls = { version = "0.27", default-features = false, features = ["webpki-tokio", "http1", "http2", "aws-lc-rs"] }
hyper-util = { version = "0.1", default-features = false, features = ["tokio", "server", "http1", "http2"] }
tokio = { version = "1.43", features = ["rt-multi-thread", "macros", "signal"] }
tokio-util = { version = "0.7.8", features = ["rt", "time"] }
tracing = "0.1"
tracing-subscriber = "0.3"
twilight-http-ratelimiting = "0.17"
metrics = { version = "0.24", optional = true }
metrics-exporter-prometheus = { version = "0.18", default-features = false, optional = true }
metrics-util = { version = "0.20", optional = true }
[dev-dependencies]
tokio = { version = "1.43", features = ["test-util"] }
[features]
metrics = ["dep:metrics", "dep:metrics-exporter-prometheus", "dep:metrics-util"]
[profile.release]
codegen-units = 1
lto = true
panic = 'abort'