| Crates.io | rust-curl |
| lib.rs | rust-curl |
| version | 0.1.2 |
| created_at | 2025-04-23 11:47:10.747474+00 |
| updated_at | 2025-04-23 13:27:15.853412+00 |
| description | A minimal HTTP client with no dependencies |
| homepage | |
| repository | https://github.com/arvid-berndtsson/rurl |
| max_upload_size | |
| id | 1645418 |
| size | 85,000 |
A minimal HTTP client with no dependencies, similar to curl but written in Rust. It is designed to be simple, efficient, and easy to use for making HTTP requests from the command line.
Note: The package is published as
rust-curlon crates.io, but the command you run is stillrurl
cargo install rust-curl
git clone https://github.com/arvid-berndtsson/rurl.git
cd rurl
cargo build --release && cargo install --path .
rurl [OPTIONS] <URL>
-o, --output <FILE>: Save the response body to a file-m, --method <METHOD>: HTTP method to use (default: GET)-H, --header <HEADER>: Add a header to the request-d, --data <DATA>: Add data to the request body-v, --verbose: Enable verbose output with detailed status information-h, --help: Display help message# Simple GET request
rurl https://arvid.tech
# Verbose output with connection and response details
rurl -v https://example.com
# POST request with JSON data
rurl -m POST -H "Content-Type: application/json" -d '{"key":"value"}' https://api.example.com
# Save response to file
rurl -o response.html https://arvid.tech
Contributions are welcome! Please open an issue or submit a pull request for any bugs, features, or improvements.
This project is inspired by the simplicity and power of curl, but aims to be written in a more idiomatic Rust style with a focus on minimalism and ease of use.