-
Notifications
You must be signed in to change notification settings - Fork 17
/
Cargo.toml
85 lines (82 loc) · 2.72 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
[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.22"
bytes = "1"
flate2 = { version = "1.0", default-features = false }
futures-util = { version = "0.3", default-features = false, features = [
"sink",
] }
halfbrown = { version = "0.2", features = ["serde"] }
http-body-util = "0.1"
hyper = { version = "1", default-features = false, features = [
"server",
"http1",
"http2",
] }
hyper-util = { version = "0.1", default-features = false, features = [
"server-auto",
"http1",
"http2",
] }
inotify = { version = "0.10", default-features = false, features = ["stream"] }
itoa = "1.0"
metrics = { version = "0.23", default-features = false }
metrics-exporter-prometheus = { version = "0.15", default-features = false }
mimalloc = { version = "0.1", default-features = false, features = [
"override",
] }
rand = "0.8"
ring = { version = "0.17", default-features = false }
serde = { version = "1", features = ["derive"] }
serde_json = { version = "1", default-features = false, features = [
"std",
], optional = true }
simd-json = { version = "0.13", default-features = false, features = [
"serde_impl",
], optional = true }
tokio = { version = "1", default-features = false, features = [
"rt-multi-thread",
"signal",
] }
tokio-websockets = { version = "0.8", default-features = false, features = [
"server",
] }
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 = "0.16", default-features = false }
twilight-gateway = { git = "https://github.com/Gelbpunkt/twilight.git", branch = "0.16", default-features = false, features = [
"rustls-webpki-roots",
"rustls-aws_lc_rs",
] }
twilight-gateway-queue = { git = "https://github.com/Gelbpunkt/twilight.git", branch = "0.16", default-features = false, features = [
] }
twilight-http = { git = "https://github.com/Gelbpunkt/twilight.git", branch = "0.16", default-features = false, features = [
"rustls-webpki-roots",
"rustls-aws_lc_rs",
] }
twilight-model = { git = "https://github.com/Gelbpunkt/twilight.git", branch = "0.16" }
[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