#proxy #configuration

proxy_config

A library to get proxy configuration from the OS

2 releases

Uses old Rust 2015

0.0.2 Aug 16, 2017
0.0.1 Aug 16, 2017

#178 in #os

MIT/Apache

15KB
280 lines

proxy-config

Appveyor Build status Travis Build Status Crates.io Documentation

A Rust library to get proxy configuration from the OS.

Usage

extern crate proxy_config;

if let Ok(proxy) = proxy_config::get_proxy_for_url(&url) {
    // use proxy to connect...
}

License

This project is provided under the terms of the Apache License 2.0 or the MIT License, at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~1.5MB
~45K SLoC