-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
105 lines (99 loc) · 2.49 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
[package]
name = "encrypted-dns-modns"
version = "0.9.13"
authors = [
"Frank Denis <[email protected]> (Original)",
"Jun Kurihara (Forked version)",
]
edition = "2018"
description = "A modern encrypted DNS server (DNSCrypt v2, Anonymized DNSCrypt, DoH) (Forked version)"
keywords = ["dnscrypt", "encryption", "dns", "doh", "proxy"]
license = "MIT"
homepage = "https://github.com/junkurihara/encrypted-dns-server-modns"
repository = "https://github.com/junkurihara/encrypted-dns-server-modns"
categories = ["asynchronous", "network-programming", "command-line-utilities"]
readme = "README.md"
[dependencies]
anyhow = "1.0.71"
byteorder = "1.4.3"
chrono = "0.4.22"
clap = { version = "3.2.25", default-features = false, features = [
"std",
"cargo",
"wrap_help",
] }
clockpro-cache = "0.1.11"
coarsetime = "0.1.23"
daemonize-simple = "0.1.5"
derivative = "2.2.0"
dnsstamps = "0.1.9"
env_logger = { version = "0.10.0", default-features = false, features = [
"humantime",
] }
futures = { version = "0.3.28", features = ["async-await"] }
hyper = { version = "0.14.27", default-features = false, features = [
"server",
"http1",
], optional = true }
ipext = "0.1.0"
libsodium-sys-stable = "1.19.29"
log = { version = "0.4.19", features = ["std", "release_max_level_debug"] }
mimalloc = { version = "0.1.37", default-features = false }
socket2 = "0.5.3"
parking_lot = "0.12.1"
rand = "0.8.5"
rlimit = "0.10.0"
rustc-hash = "1.1.0"
serde = "1.0.171"
serde_derive = "1.0.171"
serde-big-array = "0.5.1"
siphasher = "0.3.10"
slabigator = "0.2.0"
tokio = { version = "1.29.1", features = [
"net",
"io-std",
"io-util",
"fs",
"time",
"rt-multi-thread",
] }
toml = "0.7.6"
[target.'cfg(target_family = "unix")'.dependencies]
privdrop = "0.5.4"
[dependencies.prometheus]
optional = true
package = "prometheus-32bitfix"
version = "0.13.1"
default-features = false
features = ["process"]
[features]
default = ["metrics"]
metrics = ["hyper", "prometheus"]
[package.metadata.deb]
extended-description = """\
An easy to install, high-performance, zero maintenance proxy to run an \
encrypted DNS server."""
assets = [
[
"target/release/encrypted-dns-modns",
"usr/bin/encrypted-dns",
"755",
],
[
"README.md",
"usr/share/doc/encrypted-dns/README.md",
"644",
],
[
"example-encrypted-dns.toml",
"usr/share/doc/encrypted-dns/example-encrypted-dns.toml",
"644",
],
]
section = "network"
depends = "$auto"
priority = "optional"
[profile.release]
codegen-units = 1
incremental = false
panic = "abort"