-
Notifications
You must be signed in to change notification settings - Fork 38
/
Cargo.toml
66 lines (59 loc) · 1.63 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
[package]
name = "trojan"
version = "0.15.0"
authors = ["Hoping White <baihaoping@gmail.com>"]
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
clap = { version = "4.5", features = ["derive", "cargo", "env"] }
mio = { version = "1.0", features = ["net", "os-poll"] }
log = "0.4"
chrono = "0.4"
libc = "0.2"
rustls = { version = "0.23", default-features = false, features = ["ring"] }
sha2 = "0.10"
bytes = "1.7"
dns-lookup = "2.0"
cfg-if = "1.0"
webpki-roots = "0.26"
webpki = "0.22"
socket2 = "0.5"
rayon = "1.10"
rustls-pemfile = "2.1"
lazy_static = "1.5"
derive_more = { version = "1.0", features = ["full"] }
libloading = "0.8"
crossbeam = "0.8"
trust-dns-proto = "0.23"
widestring = "1.1"
itertools = "0.13"
smoltcp = { version = "0.11" }
backtrace = "0.3"
hex = "0.4"
surge-ping = "0.8"
tokio = { version = "1.40", features = ["full"] }
rand = "0.8"
test-log = "0.2"
notify = "6.1"
ringbuf = "0.4"
httparse = "1.9"
async_smoltcp = { path = "async_smoltcp" }
tokio-rustls = { version = "0.26", default-features = false, features = ["logging", "tls12"] }
rustls-pki-types = "1.8"
futures = "0.3"
trust-dns-resolver = "0.23"
[dev-dependencies]
env_logger = "0.11"
[target.'cfg(windows)'.dependencies]
wintun = "0.5"
wintool = { path = "wintool" }
winapi = { version = "0.3", features = ["netioapi", "impl-debug", "impl-default", "combaseapi", "ipifcons", "consoleapi"] }
[target.'cfg(not(windows))'.dependencies]
backtrace-on-stack-overflow = "0.3"
ipset = { version = "0.7" }
[dependencies.fern]
version = "0.6"
features = ["reopen-03"]
[profile.release]
lto = true
#debug = true