-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathCargo.toml
More file actions
53 lines (47 loc) · 1.43 KB
/
Cargo.toml
File metadata and controls
53 lines (47 loc) · 1.43 KB
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
[package]
name = "tproxy-config"
version = "7.0.7"
edition = "2024"
description = "Transparent proxy configuration"
license = "MIT"
authors = ["@ssrlive"]
repository = "https://github.com/ssrlive/tproxy-config"
keywords = ["tun", "network", "tunnel", "transparent", "proxy"]
readme = "readme.md"
[features]
unsafe-state-file = []
# default = ["unsafe-state-file"]
[dependencies]
cidr = { version = "0.3.2", features = ["serde"] }
futures = "0.3.32"
libloading = "0.9.0"
log = { version = "0.4.29" }
regex = "1.12.3"
serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0.149"
tokio = { version = "1.52.1", features = ["rt"] }
[target.'cfg(target_os = "linux")'.dependencies]
nix = { version = "0.31.2", features = ["fs", "mount", "process"] }
rtnetlink = "0.21.0"
tempfile = "3.27.0"
[target.'cfg(target_os = "macos")'.dependencies]
resolv-conf = "0.7.6"
system-configuration = "0.7.0"
[target.'cfg(target_os = "windows")'.dependencies]
windows-sys = { version = "0.61.2", features = [
"Win32_System_Diagnostics_Debug",
"Win32_System_SystemServices",
"Win32_Security_Cryptography",
"Win32_NetworkManagement_IpHelper",
"Win32_NetworkManagement_Ndis",
"Win32_Networking_WinSock",
"Win32_System_Threading",
"Win32_System_Com",
"Win32_System_Rpc",
"Win32_Security",
"Win32_Foundation",
"Win32_System_Ioctl",
"Win32_System_IO",
"Win32_System_LibraryLoader",
"Win32_Security_WinTrust",
] }