forked from lazytiger/trojan-rs
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
57 lines (50 loc) · 1.23 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
[package]
name = "trojan"
version = "0.13.5"
authors = ["Hoping White <[email protected]>"]
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
clap = { version = "4.0", features = ["derive", "cargo", "env"] }
mio = { version = "0.8", features = ["net", "os-poll"] }
log = "0.4"
chrono = "0.4"
libc = "0.2"
rustls = "0.20"
sha2 = "0.10"
bytes = "1.2"
dns-lookup = "1.0"
cfg-if = "1.0"
webpki-roots = "0.22"
webpki = "0.22"
socket2 = "0.4"
rayon = "1.5"
rustls-pemfile = "1.0"
lazy_static = "1.4"
derive_more = "0.99"
libloading = "0.7"
crossbeam = "0.8"
trust-dns-proto = "0.22"
winapi = { version = "0.3", features = ["netioapi", "impl-debug", "impl-default", "combaseapi", "ipifcons"] }
widestring = "1.0"
itertools = "0.10"
smoltcp = "0.8"
backtrace = "0.3"
hex = "0.4"
surge-ping = "0.7"
tokio = { version = "1.21.2", features = ["full"] }
rand = "0.8"
test-log = "0.2"
notify = "5.0"
[dev-dependencies]
env_logger = "0.10"
[target.'cfg(windows)'.dependencies]
wintun = "0.2"
[target.'cfg(not(windows))'.dependencies]
backtrace-on-stack-overflow = "0.3"
ipset = { version = "0.3" }
[dependencies.fern]
version = "0.6"
features = ["reopen-03"]
[profile.release]
lto = true