-
Notifications
You must be signed in to change notification settings - Fork 4
/
Cargo.toml
49 lines (44 loc) · 1.29 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
[package]
name = "tproxy-config"
version = "6.1.0"
edition = "2021"
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]
default = []
unsafe-state-file = []
[dependencies]
cidr = { version = "0.3", features = ["serde"] }
libloading = "0.8"
log = { version = "0.4" }
regex = "1"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
[target.'cfg(target_os = "macos")'.dependencies]
resolv-conf = "0.7"
system-configuration = "0.6"
[target.'cfg(target_os = "linux")'.dependencies]
nix = { version = "0.29", features = ["fs", "mount", "process"] }
tempfile = "3"
[target.'cfg(target_os = "windows")'.dependencies]
windows-sys = { version = "0.59", 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",
] }