-
Notifications
You must be signed in to change notification settings - Fork 66
/
Cargo.toml
85 lines (78 loc) · 2.14 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
[package]
authors = ["darsvador"]
edition = "2021"
exclude = ["./test_config.toml"]
name = "v2ray-rust"
version = "0.1.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = []
strict-vmess-udp = []
[dependencies]
actix-rt = "2.8"
actix-server = "2.2.0"
actix-service = "2.0"
aead = "0.5"
aes = "0.8.3"
aes-gcm = "0.10"
anyhow = "1.0"
async-trait = "0.1"
base64 = "0.21.2"
bitvec = "1"
bloomfilter = "1.0.9"
boring = "4.2.0"
boring-sys = "4.2.0"
byte_string = "1.0"
bytes = "1"
chacha20poly1305 = "0.10"
cidr-utils = "0.5.10"
clap = "4"
crc32fast = "1.3.2"
domain_matcher = {git = "https://github.com/darsvador/DomainMatcher", rev = "8df5a46746d90900d"}
env_logger = "0.10"
foreign-types-shared = "0.3.1"
futures-util = {version = "0.3", default-features = false, features = ["sink", "std"]}
generic-array = "0.14.7"
hkdf = "0.12"
hmac = "0.12"
log = "0.4"
md-5 = "0.10.5"
prost = "0.11"
protobuf = {version = "3.0.1", features = ["with-bytes"]}
rand = {version = "0.8", features = ["small_rng"]}
regex = "1.7.3"
serde = {version = "1.0", features = ["derive"]}
sha-1 = "0.10.1"
sha2 = "0.10.6"
socket2 = {version = "0.4.7", features = ["all"]}
spin = "0.9.6"
tokio = {version = "1.26", features = ["net", "io-util", "macros", "sync"]}
tokio-boring = "4.2.0"
tokio-tungstenite = {version = "0.20", features = ["stream", "handshake"], default-features = false}
tokio-util = {version = "0.7", features = ["codec", "net"]}
toml = "0.5"
tonic = "0.9"
uuid = {version = "1.3", features = ["std", "v4"]}
#cidr_matcher={git="https://github.com/Qv2ray/CIDRMatcher"}
brotli = "3.3.4"
gentian = "0.1.8"
h2 = "0.3.20"
http = "0.2"
hyper = {version = "0.14.27", features = ["http1", "http2", "client", "server"]}
libc = "0.2"
once_cell = "1"
tower = "0.4.13"
[profile.release]
codegen-units = 1
lto = true
opt-level = 3
strip = true
[build-dependencies]
protobuf-codegen = "3.2.0"
tonic-build = "0.10"
[target.'cfg(windows)'.dependencies]
schannel = "0.1.21"
[target.'cfg(all(unix, not(target_os = "macos")))'.dependencies]
openssl-probe = "0.1.5"
[target.'cfg(target_os = "macos")'.dependencies]
security-framework = "2.9.1"