-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
79 lines (73 loc) · 2.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
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
[package]
name = "docker-dns-rs"
# don't change this, it's updated before an actual build by update-version.sh
version = "0.0.0-development"
edition = "2021"
rust-version = "1.82.0"
authors = ["Kristof Mattei"]
description = "Rust end-to-end application"
license-file = "LICENSE"
categories = ["starter", "end-to-end"]
keywords = ["integrity", "end-to-end", "starter", "docker", "release"]
repository = "https://github.com/kristof-mattei/docker-dns-rs"
[lints.clippy]
# don't stop from compiling / running
all = "warn"
pedantic = "warn"
cargo = "warn"
# this one causes confusion when combining variables (`foo`) and
# dereferenced variables (`foo.bar`). The latter cannot be inlined
# so we don't inline anything
uninlined-format-args = { level = "allow", priority = 127 }
[lints.rust]
let_underscore_drop = { level = "deny", priority = 127 }
non_ascii_idents = { level = "deny", priority = 127 }
[profile.dev.package.backtrace]
opt-level = 3
[features]
coverage = []
[dependencies]
bytes = { version = "1.8.0", features = ["serde"] }
clap = { version = "4.5.21", features = ["derive"] }
color-eyre = "0.6.3"
hickory-server = "0.24.1"
http = "1.1.0"
http-body-util = "0.1.2"
hyper = { version = "1.5.1", default-features = false }
hyper-tls = { version = "0.6.0", default-features = false, features = [
"vendored",
] }
hyper-unix-socket = "0.0.0-development"
hyper-util = { version = "0.1.10", default-features = false, features = [
"client-legacy",
"http1",
"tokio",
] }
ipnet = "2.10.1"
once_cell = "1.20.2"
percent-encoding = "2.3.1"
regex = "1.11.1"
serde = { version = "1.0.215", features = ["derive"] }
serde_json = "1.0.133"
tracing = "0.1.40"
tracing-error = "0.2.0"
tracing-subscriber = { version = "0.3.18", features = [
"env-filter",
"time",
"tracing-log",
] }
tokio = { version = "1.41.1", features = [
"rt-multi-thread",
"macros",
"time",
"signal",
"net",
] }
tokio-util = "0.7.12"
url = "2.5.3"
# We compile the Docker container with musl to get a static library. Smaller, faster.
# BUT that means that we need to include openssl
# Documentation on the syntax:
# https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#platform-specific-dependencies
[target.'cfg(all(target_env="musl"))'.dependencies]
openssl = { version = "0.10.68", features = ["vendored"] }