forked from twilight-rs/http-proxy
-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
31 lines (27 loc) · 1.03 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
[package]
authors = ["Twilight Contributors"]
edition = "2018"
name = "twilight-http-proxy"
version = "0.1.0"
[dependencies]
dashmap = "5.4"
http = "0.2"
hyper = { version = "0.14", features = ["tcp", "server", "client", "http1", "http2"] }
hyper-rustls = { version = "0.23", default-features = false, features = ["webpki-tokio", "http1", "http2"] }
hyper-trust-dns = { version = "0.5", default-features = false }
tokio = { version = "1.0", features = ["rt-multi-thread", "macros", "signal"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
twilight-http-ratelimiting = "0.13"
ahash = "0.8"
lazy_static = { version = "1.4"}
# Only used by the `expose-metrics` feature.
metrics = { version = "0.20", optional = true }
metrics-exporter-prometheus = { version = "0.11", default-features = false, optional = true }
metrics-util = { version = "0.14", optional = true }
[features]
expose-metrics = ["metrics", "metrics-exporter-prometheus", "metrics-util"]
[profile.release]
codegen-units = 1
lto = true
panic = 'abort'