-
Notifications
You must be signed in to change notification settings - Fork 21
/
Cargo.toml
35 lines (29 loc) · 902 Bytes
/
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
[package]
name = "sysproxy"
version = "0.3.0"
edition = "2021"
authors = ["zzzgydi"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/zzzgydi/sysproxy-rs.git"
keywords = ["system-proxy", "proxy", "networksetup", "gsettings"]
description = "A library for set/get system proxy. Supports Windows, macOS and linux (via gsettings)."
[dependencies]
log = "0.4"
thiserror = "1"
iptools = { version = "0.3.0", optional = true }
[target.'cfg(target_os = "linux")'.dependencies]
xdg = "^2.5"
[target.'cfg(target_os = "macos")'.dependencies]
interfaces = "0.0.9"
[target.'cfg(target_os = "windows")'.dependencies]
winreg = { version = "0.52", features = ["transactions"] }
windows = { version = "0.58", features = [
"Win32_Networking_WinInet",
"Win32_NetworkManagement_Rras",
"Win32_Foundation",
] }
[dev-dependencies]
serial_test = "3.1.1"
[features]
default = ["iptools"]