-
Notifications
You must be signed in to change notification settings - Fork 13
/
Cargo.toml
49 lines (46 loc) · 1.29 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
[package]
name = "elex-proxy"
version = "0.2.0"
edition = "2021"
build = "build.rs"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
axum = { version = "^0.7.5", features = ["http2"] }
futures = "^0"
serde = { version = "^1", features = ["derive"] }
serde_json = "^1"
tokio = { version = "^1", features = ["full"] }
tokio-stream = "^0.1.15"
tungstenite = "^0"
tokio-tungstenite = { version = "^0", features = ["native-tls"] }
openssl = { version = "^0.10.64", features = ["vendored"] }
url = "^2"
time = { version = "^0.3.34", features = [] }
tower = { version = "^0", features = ["full"] }
tower-http = { version = "^0.5.2", features = ["cors", "trace", "catch-panic"] }
once_cell = "^1"
tracing = "^0"
tracing-subscriber = "^0"
anyhow = "^1.0.81"
tower_governor = "0.4.2"
bytes = "^1.6.0"
http-body-util = "^0.1.1"
dotenv = "^0"
regex = "^1.10.4"
headers = "0.4.0"
forwarded-header-value = "0.1.1"
rand = "0.8.5"
bitcoin = "0.32.2"
hex = "0.4.3"
moka = { version = "0.12.5", features = ["future"] }
ciborium = "0.2.2"
mime_guess = "2.0.4"
[build-dependencies]
vergen = { version = "9", features = ["build", "cargo", "rustc"] }
anyhow = "^1"
[profile.release]
strip = true
opt-level = "z" # Optimize for size.
lto = true
codegen-units = 1
#panic = "abort"