rumbo_http_client-0.1.0 has been yanked.
Rumbo HTTP Client
A lightweight, minimal HTTP client library for Rust with async support.
Features
- ✅ Minimal dependencies and small binary size
- ✅ Async/await support with tokio
- ✅ GET and POST requests
- ✅ JSON serialization/deserialization support
- ✅ Optional TLS/HTTPS support
- ✅ Simple, intuitive API
- ✅ Proper error handling
Installation
Add this to your Cargo.toml:
[]
= "0.1.0"
# Enable TLS support for HTTPS requests
= { = "0.1.0", = ["tls"] }
Quick Start
use ;
use json;
async
API Reference
HttpClient::fetch()
pub async
Response
Features
Default Features
- Basic HTTP support (no TLS)
Optional Features
tls: Enable HTTPS support using native-tls
Size Optimization
This library is optimized for minimal size:
- Minimal dependencies
- Optional TLS support
- Compile-time optimizations in
Cargo.toml - No unnecessary features
Examples
Run the example:
License
Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.