[package]
edition = "2021"
name = "systemproxy"
version = "0.3.2"
authors = [
"ssrlive",
"zzzgydi",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A library for set/get system proxy. Supports Windows, macOS and linux (via gsettings)."
readme = "README.md"
keywords = [
"system",
"proxy",
"networksetup",
"gsettings",
]
license = "MIT"
repository = "https://github.com/ssrlive/systemproxy.git"
[features]
default = ["iptools"]
[lib]
name = "systemproxy"
path = "src/lib.rs"
[[test]]
name = "test"
path = "tests/test.rs"
[dependencies.iptools]
version = "0.5.0"
optional = true
[dependencies.log]
version = "0.4.33"
[dependencies.thiserror]
version = "2.0.19"
[dev-dependencies.serial_test]
version = "3.5.0"
[target.'cfg(target_os = "linux")'.dependencies.xdg]
version = "^3.0.0"
[target.'cfg(target_os = "macos")'.dependencies.interfaces]
version = "0.0.9"
[target.'cfg(target_os = "windows")'.dependencies.windows-sys]
version = "0.61.2"
features = [
"Win32_Networking_WinInet",
"Win32_System_Registry",
"Win32_Foundation",
]