rustem_proxy 0.1.5

A rust library to set system proxy on different operating systems
Documentation

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();