forked from ooliver1/gateway-proxy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
64 lines (61 loc) · 2.44 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
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
[package]
name = "gateway-proxy"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
base64 = "0.21"
flate2 = { version = "1.0", default-features = false }
futures-util = { version = "0.3", default-features = false }
halfbrown = { version = "0.2", features = ["serde"] }
hyper = { version = "0.14", default-features = false, features = [
"server",
"http1",
"http2"
] }
itoa = "1.0"
libc = { version = "0.2", default-features = false }
metrics = { version = "0.21", default-features = false }
metrics-exporter-prometheus = { version = "0.12", default-features = false }
mimalloc = { version = "0.1", default-features = false, features = [
"override"
] }
rand = "0.8"
ring = { version = "0.16", default-features = false }
serde = { version = "1", features = ["derive"] }
serde_json = { version = "1", default-features = false, features = ["std"], optional = true }
simd-json = { version = "0.9", default-features = false, features = [
"serde_impl"
], optional = true }
tokio-tungstenite = { version = "0.19", default-features = false }
tokio = { version = "1", default-features = false, features = [
"rt-multi-thread"
] }
tracing = { version = "0.1", default-features = false, features = ["log"] }
tracing-subscriber = { version = "0.3", default-features = false, features = [
"fmt",
"std"
] }
twilight-cache-inmemory = { git = "https://github.com/Gelbpunkt/twilight.git", branch = "15-custom", default-features = false }
twilight-gateway = { git = "https://github.com/Gelbpunkt/twilight.git", branch = "15-custom", default-features = false, features = [
"rustls-webpki-roots",
] }
twilight-gateway-queue = { git = "https://github.com/Gelbpunkt/twilight.git", branch = "15-custom", default-features = false, features = [
"twilight-http",
] }
twilight-http = { git = "https://github.com/Gelbpunkt/twilight.git", branch = "15-custom", default-features = false, features = [
"rustls-webpki-roots",
] }
twilight-model = { git = "https://github.com/Gelbpunkt/twilight.git", branch = "15-custom" }
[features]
default = ["simd"]
simd = ["flate2/zlib-ng", "simd-json", "twilight-gateway/zlib-simd", "twilight-gateway/simd-json", "twilight-http/simd-json"]
no-simd = ["flate2/zlib", "serde_json", "twilight-gateway/zlib-stock"]
[profile.release]
codegen-units = 1
debug = false
incremental = false
lto = true
opt-level = 3
panic = "abort"
debug-assertions = false