-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
66 lines (61 loc) · 1.86 KB
/
Copy pathCargo.toml
File metadata and controls
66 lines (61 loc) · 1.86 KB
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
[package]
authors = ["zyj"]
edition = "2024"
name = "yadns"
version = "0.7.5"
[features]
default = ["default-doh", "default-doh3", "default-quic", "logging"]
default-dot = [
"dns-over-tls"
]
default-doh = [
"dns-over-tls",
"dns-over-https"
]
default-doh3 = [
"dns-over-tls",
"dns-over-h3"
]
default-quic = [
"dns-over-tls",
"dns-over-quic"
]
default-tcp_udp = []
dns-over-tls = ["hickory-resolver/tls-ring", "hickory-resolver/webpki-roots", "hickory-resolver/rustls-platform-verifier"]
dns-over-https = ["hickory-resolver/https-ring"]
dns-over-h3 = ["dep:quinn", "dep:pin-project-lite", "hickory-resolver/h3-ring"]
dns-over-quic = ["dep:quinn", "dep:pin-project-lite", "hickory-resolver/quic-ring"]
logging = ["dep:env_logger"]
debug = ["dep:console-subscriber", "tokio/full", "tokio/tracing"]
[dependencies]
async-http-proxy = {version = "1", features = ["runtime-tokio", "basic-auth"]}
async-recursion = "1"
async-trait = "0.1"
clap = {version = "4", features = ["derive"]}
console-subscriber = {version = "0.5", optional = true}
env_logger = {version = "0.11", optional = true, default-features = false, features = ["auto-color", "humantime"]}
fast-socks5 = "0.10"
futures = {version = "0.3", default-features = false, features = ["executor"]}
hickory-proto = {version = "0.25", default-features = false}
hickory-resolver = {version = "0.25", default-features = false, features = ["tokio"]}
hickory-server = {version = "0.25", default-features = false}
ipnet = "2"
iprange = "0.6"
log = "0.4"
pin-project-lite = {version = "0.2", optional = true}
publicsuffix = "2"
quinn = {version = "0.11", optional = true}
regex = {version = "1", default-features = false, features = ["unicode"]}
serde = "1"
serde_derive = "1"
thiserror = "2"
tokio = "1"
toml = "0.9"
serde_yaml = "0.9"
url = "2"
[profile.release]
lto = true
opt-level = 3
# codegen-units = 1
panic = "abort"
strip = "symbols"