[package]
name = "system_proxy"
version = "0.1.1"
authors = ["Sebastian Wiesner <sebastian@swsnr.de>"]
edition = "2021"
rust-version = "1.59"
description = "Get the system-wide HTTP proxy"
documentation = "https://docs.rs/system_proxy"
readme = "README.md"
homepage = "https://codeberg.org/flausch/system_proxy.rs"
repository = "https://codeberg.org/flausch/system_proxy.rs.git"
license = "MPL-2.0"
keywords = ["HTTP", "proxy", "sytem-wide"]
categories = ["api-bindings", "os", "network-programming", "web-programming::http-client"]
[features]
default = ["gnome"]
gnome = ["gio", "glib"]
[dependencies]
log = "0.4.14"
url = "2.2.2"
[dev-dependencies]
temp-env = "0.2.0"
pretty_assertions = "1.2.0"
reqwest = { version = "0.11.10", features = ["blocking"] }
[target.'cfg(all(unix, not(target_os="mac_os")))'.dependencies]
gio = { version = "0.15.7", optional = true }
glib = { version = "0.15.9", optional = true, features = ["v2_66"] }
[package.metadata.docs.rs]
features = ["glib/dox", "gio/dox"]