-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
32 lines (29 loc) · 1.17 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
[package]
name = "dns-hole"
version = "0.1.0"
edition = "2021"
[dependencies]
reqwest = { version = "0.11", default-features = false, features = ["trust-dns", "stream", "rustls-tls-webpki-roots"] }
trust-dns-server = { version = "0.22", default-features = false, features = ["resolver", "dns-over-https-rustls"] }
sqlx = { version = "0.6.2", default-features = false, features = ["runtime-tokio-rustls", "postgres", "uuid", "time", "macros"] }
tokio = { version = "1.26", default-features = false, features = ["macros"] }
serde = { version = "1.0", default-features = false, features = ["derive"] }
futures-util = { version = "0.3", default-features = false }
clap = { version = "4.1", features = ["derive", "env"] }
tokio-util = { version = "0.7", features = ["io"] }
tracing-subscriber = "0.3"
async-trait = "0.1"
tracing = "0.1"
anyhow = "1.0"
flate2 = "1.0"
time = "0.3"
uuid = "1.3"
[profile.release]
lto = true
codegen-units = 1
panic = "abort"
strip = true
# by overriding our dependencies' compilation settings, we can further optimize for size
# https://docs.rust-embedded.org/book/unsorted/speed-vs-size.html#optimizing-dependencies
[profile.release.package."*"]
codegen-units = 1