rustem_proxy

Crates.iorustem_proxy
lib.rsrustem_proxy
version0.1.5
sourcesrc
created_at2023-09-28 15:47:17.242058
updated_at2024-01-23 14:58:56.120674
descriptionA rust library to set system proxy on different operating systems
homepagehttps://github.com/uaquax/rustem_proxy
repositoryhttps://github.com/uaquax/rustem_proxy
max_upload_size
id986045
size46,194
velaton (velaton618)

documentation

https://docs.rs/rustem_proxy

README

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();
Commit count: 16

cargo fmt