-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
35 lines (31 loc) · 1.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
[package]
name = "litedns"
version = "0.4.1"
edition = "2021"
description = "A toy DNS server in Rust with Geosite support"
license = "MIT"
documentation = "README.md"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
env_logger = "0.10"
log = "0.4"
anyhow = "1.0.71"
async-trait = "0.1.68"
config = "0.13"
prost = "0.11.9"
serde = { version = "1.0.163", features = ["derive"] }
tokio = { version = "1.28.1", features = ["macros", "net"] }
trust-dns-resolver = { git = "https://github.com/iberryful/trust-dns.git", features = ["dns-over-rustls", "dns-over-https-rustls", "tokio-runtime"] }
trust-dns-server = { git = "https://github.com/iberryful/trust-dns.git" }
url = { version = "2.3.1", features = ["serde"] }
regex = "1"
rust-embed="6"
clap = { version = "4.3", features = ["derive"] }
serde_urlencoded = "0.7.1"
tokio-socks = "0.5.1"
[build-dependencies]
prost-build = "0.11"
reqwest = { version = "0.11.18", features = ["blocking", "rustls-tls"] }
[profile.release]
lto = true
strip = true