-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathCargo.toml
63 lines (58 loc) · 2.04 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
[package]
name = "crab-hole"
version = "0.1.12"
edition = "2021"
description = "Pi-Hole clone written in rust using hickory-dns/trust-dns"
repository = "https://github.com/LuckyTurtleDev/crab-hole"
keywords = ["DNS", "BIND", "named", "dnssec"]
license = "AGPL-3.0-or-later"
include = [
"src/**/*",
"Cargo.toml",
"LICENSE*",
"README.md",
"config.toml",
"example-config.toml"
]
[features]
default = ["native-roots"]
native-roots = ["hickory-resolver/native-certs", "reqwest/rustls-tls-native-roots"]
webpki-roots = ["hickory-resolver/webpki-roots", "reqwest/rustls-tls-webpki-roots"]
# internal debugging feature for the parser
__debug_parser = []
[dependencies]
anyhow = "1.0.70"
ariadne = "0.3"
async-trait = "0.1"
bit-vec = "0.6.3"
chumsky = "0.9.2"
clap = { version = "4.5.22", features = ["derive"] }
directories = "5.0.0"
hickory-proto = { version = "0.24", default-features = false }
hickory-server = { version = "0.24", default-features = false, features = ["dnssec-ring", "dns-over-h3" ,"dns-over-rustls", "dns-over-https-rustls", "dns-over-quic"] }
hickory-resolver = { version = "0.24.0", default-features = false}
log = "0.4.17"
my-env-logger-style = { version = "0.1.1", features = ["custom-arg-formatter"] }
num-format = "0.4.4"
once_cell = { version = "1.17.1", features = ["parking_lot"] }
poem = "1.3.57"
poem-openapi = { version = "3.0.1", features = ["redoc", "time"] }
qp-trie = "0.8.2"
regex = "1.10.2"
reqwest = { version = "0.11.16", default-features = false}
rustls = { version = "0.21", default-features = false }
rustls-pemfile = "1.0.3"
serde = { version = "1.0", features = ["derive"] }
time = "0.3.25"
tokio = { version = "1.27", features = ["fs", "parking_lot", "rt-multi-thread", "macros", "net", "signal"] }
toml = { package = "basic-toml", version = "0.1" }
url = { version = "2.3.1", features = ["serde"] }
[dev-dependencies]
indoc = "2.0.1"
jemallocator = "0.5"
jemalloc-sys = { version = "0.5", features = ["stats"] }
[build-dependencies]
rustc_version = "0.4.0"
[lints.rust.unexpected_cfgs]
level = "warn"
check-cfg = ['cfg(nightly)']