#proxy #http-proxy #operating-system #set #platform #different #systemproxy

rustem_proxy

A rust library to set system proxy on different operating systems

6 releases

0.1.5 Jan 23, 2024
0.1.4 Oct 5, 2023
0.1.2 Sep 28, 2023

#314 in Operating systems

30 downloads per month

Custom license

16KB
223 lines

rustem_proxy

Usage

Supported Platforms:

  • Windows
  • Macos
  • Linux (Gnome only)

Examples:

use rustem_proxy::SystemProxy;

SystemProxy::set(SystemProxy {
    is_enabled: true,
    host: "127.0.0.1".to_string(),
    port: 61001,
    bypass: "".to_string(),
    protocol: rustem_proxy::Protocol::HTTP,
});
SystemProxy::unset();

Dependencies

~0–10MB
~41K SLoC