-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
58 lines (52 loc) · 1.93 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
[package]
name = "pingly"
version = "0.1.0"
edition = "2021"
rust-version = "1.70"
license = "MIT"
description = "TLS/HTTP2 tracking server written in Rust"
authors = ["0x676e67 <[email protected]>"]
repository = "https://github.com/penumbra-x/pingly"
[dependencies]
serde = { version = "1", features = ["derive"] }
thiserror = "2"
clap = { version = "4", features = ["derive", "env"] }
tokio = { version = "1", features = ["macros", "rt-multi-thread", "signal"] }
tracing = { version = "0.1.40" }
tracing-subscriber = { version = "0.3.0", features = ["env-filter"] }
axum = { version = "0.8.1", features = ["http2"] }
axum-extra = { version = "0.10.0", default-features = false, features = ["erased-json"] }
axum-server = { version = "0.7.1", features = ["tls-rustls"] }
tower-http = { version = "0.6.2", default-features = false, features = ["trace", "cors"] }
tower = { version = "0.5.2", default-features = false, features = ["limit"] }
rcgen = "0.13.2"
md5 = "0.7.0"
hex = "0.4.3"
tokio-rustls = { version = "0.26", default-features = false }
futures-util = { version = "0.3.31", default-features = false }
httlib-hpack = "0.1.3"
pin-project-lite = "0.2.9"
tls-parser = "0.12.0"
boxcar = "0.2.8"
tcmalloc = { version = "0.3.0", optional = true }
snmalloc-rs = { version = "0.3.4", optional = true }
rpmalloc = { version = "0.2.2", optional = true }
jemallocator = { package = "tikv-jemallocator", version = "0.6", optional = true }
mimalloc = { version = "0.1.39", default-features = false, optional = true }
[target.'cfg(target_family = "unix")'.dependencies]
daemonize = "0.5.0"
nix = { version = "0.29.0", features = ["user", "signal"] }
sysinfo = { version = "0.30", default-features = false }
[features]
default = ["mimalloc"]
jemalloc = ["jemallocator"]
tcmalloc = ["tcmalloc/bundled"]
snmalloc = ["snmalloc-rs"]
rpmalloc = ["dep:rpmalloc"]
mimalloc = ["dep:mimalloc"]
[profile.release]
opt-level = 's'
codegen-units = 1
lto = true
strip = true
panic = "abort"