-
Notifications
You must be signed in to change notification settings - Fork 43
/
Cargo.toml
75 lines (69 loc) · 1.85 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
[package]
name = "overtls"
version = "0.2.38"
edition = "2021"
license = "MIT"
description = "A simple proxy tunnel, minimalist tool for bypassing the GFW."
repository = "https://github.com/ShadowsocksR-Live/overtls"
readme = "readme.md"
rust-version = "1.80"
[lib]
crate-type = ["staticlib", "cdylib", "lib"]
[[bin]]
name = "overtls-bin"
path = "src/bin/main.rs"
[dependencies]
async-shared-timeout = "0.2"
base64 = "0.22"
bytes = "1"
chrono = "0.4"
clap = { version = "4", features = ["derive"] }
ctrlc2 = { version = "3", features = ["tokio", "termination"] }
dotenvy = "0.15"
env_logger = "0.11"
futures-util = { version = "0.3", default-features = false, features = [
"sink",
"std",
] }
hickory-proto = "0.24"
http = "1"
httparse = "1"
log = { version = "0.4", features = ["std"] }
moka = { version = "0.12", default-features = false, features = ["future"] }
reqwest = { version = "0.12", default-features = false, features = [
"rustls-tls",
"json",
] }
rustls = { version = "0.23", default-features = false, features = [
"std",
"tls12",
"logging",
"ring",
] }
rustls-pemfile = "2"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
socket2 = "0.5"
socks5-impl = "0.5"
thiserror = "2"
tokio = { version = "1", features = ["full"] }
tokio-rustls = { version = "0.26", default-features = false, features = [
"logging",
"tls12",
"ring",
] }
tokio-tungstenite = { version = "0.24", features = ["rustls-tls-webpki-roots"] }
tokio-util = "0.7"
url = "2"
webpki = { package = "rustls-webpki", version = "0.102", features = [
"alloc",
"std",
] }
webpki-roots = "0.26"
[target.'cfg(unix)'.dependencies]
daemonize = "0.5"
[target.'cfg(target_os="android")'.dependencies]
android_logger = "0.14"
jni = { version = "0.21", default-features = false }
[target.'cfg(target_os = "windows")'.dependencies]
windows-service = "0.7"