forked from twilight-rs/http-proxy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
28 lines (24 loc) · 919 Bytes
/
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
[package]
authors = ["Twilight Contributors"]
edition = "2018"
name = "twilight-http-proxy"
version = "0.1.0"
[dependencies]
dashmap = "4.0"
http = "0.2"
hyper = { version = "0.14", features = ["tcp", "server", "client", "http1", "http2"] }
hyper-rustls = { version = "0.22", default-features = false, features = ["webpki-tokio"] }
tokio = { version = "1.0", features = ["rt-multi-thread", "macros", "signal"] }
tracing = "0.1"
tracing-subscriber = "0.2"
twilight-http = { version = "0.6.1", default-features = false, features = ["rustls-webpki-roots"] }
# Only used by the `expose-metrics` feature.
metrics = { version = "0.17", optional = true }
metrics-exporter-prometheus = { version = "0.6", optional = true }
lazy_static = { version = "1.4", optional = true }
[features]
expose-metrics = ["metrics", "metrics-exporter-prometheus", "lazy_static"]
[profile.release]
codegen-units = 1
lto = true
panic = 'abort'