-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathCargo.toml
32 lines (29 loc) · 882 Bytes
/
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
[package]
name = "dns2socks"
version = "0.1.8"
edition = "2021"
license = "MIT"
repository = "https://github.com/ssrlive/dns2socks"
authors = ["ssrlive"]
description = "Convert DNS requests to SOCKS5 proxy."
readme = "README.md"
[lib]
crate-type = ["staticlib", "cdylib", "rlib"]
[dependencies]
chrono = "0.4"
clap = { version = "4", features = ["derive", "wrap_help"] }
ctrlc2 = { version = "3", features = ["tokio", "termination"] }
dotenvy = "0.15"
env_logger = "0.11"
hickory-proto = "0.24"
log = "0.4"
moka = { version = "0.12", default-features = false, features = ["future"] }
rand = "0.8"
socks5-impl = { version = "0.6", default-features = false, features = [
"client",
] }
tokio = { version = "1", features = ["full"] }
tokio-util = "0.7"
[target.'cfg(target_os="android")'.dependencies]
android_logger = "0.14"
jni = { version = "0.21", default-features = false }