-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
61 lines (56 loc) · 1.43 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
[package]
authors = ["zyj"]
edition = "2021"
name = "yadns"
version = "0.5.1"
[features]
default = ["default-doh-rustls"]
default-doh-rustls = [
"dns-over-tls",
"dns-over-https",
"hickory-resolver/dns-over-rustls",
"hickory-resolver/dns-over-https-rustls",
"hickory-resolver/webpki-roots",
"hickory-resolver/native-certs",
]
default-dot-openssl = ["dns-over-tls", "openssl", "hickory-resolver/dns-over-openssl"]
default-dot-rustls = [
"dns-over-tls",
"hickory-resolver/dns-over-rustls",
"hickory-resolver/webpki-roots",
"hickory-resolver/native-certs",
]
default-tcp_udp = []
dns-over-https = ["hickory-resolver/dns-over-https"]
dns-over-tls = ["hickory-resolver/dns-over-tls"]
[dependencies]
async-http-proxy = {version = "1", features = ["runtime-tokio", "basic-auth"]}
async-recursion = "1"
async-trait = "0.1"
clap = {version = "4", features = ["derive"]}
fast-socks5 = "0.9"
futures = {version = "0.3", default-features = false}
hickory-proto = "0.24"
hickory-resolver = {version = "0.24", default-features = false, features = ["tokio-runtime"]}
hickory-server = "0.24"
ipnet = "2"
iprange = "0.6"
once_cell = "1"
openssl = {version = "0.10", features = ["vendored"], optional = true}
publicsuffix = "2"
regex = "1"
serde = "1"
serde_derive = "1"
slog = "2"
slog-async = "2"
slog-term = "2"
thiserror = "1"
tokio = "1"
toml = "0.8"
url = "2"
[profile.release]
lto = true
opt-level = 3
# codegen-units = 1
panic = "abort"
strip = "symbols"