[package]
edition = "2024"
name = "tproxy-config"
version = "7.0.6"
authors = ["@ssrlive"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Transparent proxy configuration"
readme = "readme.md"
keywords = [
"tun",
"network",
"tunnel",
"transparent",
"proxy",
]
license = "MIT"
repository = "https://github.com/ssrlive/tproxy-config"
[features]
unsafe-state-file = []
[lib]
name = "tproxy_config"
path = "src/lib.rs"
[dependencies.cidr]
version = "0.3.1"
features = ["serde"]
[dependencies.futures]
version = "0.3.31"
[dependencies.libloading]
version = "0.9.0"
[dependencies.log]
version = "0.4.29"
[dependencies.regex]
version = "1.12.2"
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.145"
[dependencies.tokio]
version = "1.48.0"
features = ["rt"]
[target.'cfg(target_os = "linux")'.dependencies.nix]
version = "0.31.2"
features = [
"fs",
"mount",
"process",
]
[target.'cfg(target_os = "linux")'.dependencies.rtnetlink]
version = "0.20.0"
[target.'cfg(target_os = "linux")'.dependencies.tempfile]
version = "3.23.0"
[target.'cfg(target_os = "macos")'.dependencies.resolv-conf]
version = "0.7.6"
[target.'cfg(target_os = "macos")'.dependencies.system-configuration]
version = "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",
]