| Crates.io | rhoxy |
| lib.rs | rhoxy |
| version | 0.2.6 |
| created_at | 2025-08-21 03:19:38.291171+00 |
| updated_at | 2025-08-22 04:50:48.464207+00 |
| description | An async HTTP/HTTPS proxy in Rust. |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1804242 |
| size | 80,535 |
An async HTTP/HTTPS proxy in Rust
Arguments:
#[arg(long, default_value = "127.0.0.1", help = "Host to listen on")]
host: String,
#[arg(short, long, default_value = "8080", help = "Port to listen on")]
port: u16, // allows values 0...65535
#[arg(long, help = "Enable debug logging")]
verbose: bool,
cargo install rhoxy
Running the above command will globally install the rhoxy binary.
Run the following Cargo command in your project directory:
cargo add rhoxy
Or add the following line to your Cargo.toml:
rhoxy = "0.2.6"
# listen on port 8081 on host 127.0.0.1 with debug logging
cargo run -- --port 8081 --verbose
cargo build --release
cargo install --path .
rhoxy --port 8080