| Crates.io | mmhttp |
| lib.rs | mmhttp |
| version | 0.5.1 |
| created_at | 2025-06-16 13:07:58.337319+00 |
| updated_at | 2025-06-16 13:34:17.762003+00 |
| description | A minimal HTTP 0.9 client for Rust, using std networking. |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1714259 |
| size | 3,722 |
minimal http.
You just need to make a simple HTTP GET request, lean and mean. No TLS. No fancy features, no dependencies, just a single function to get the job done.
Unit-tested. Full HTTP 0.9 support. Binary response. No HTTP 1.0 or 1.1 support, no HTTP/2 or HTTP/3 support, no TLS, no cookies, no redirects, no headers, no body, no AI, no LLM, no crypto, no async, no threads, no futures, no streams, no channels, no actors, no macros, no generics, no traits, no structs, no modules, no crates, no libraries, no frameworks, no dependencies. Minimal, guys.
use mmhttp::get;
fn main() {
let response = mmhttp::get("example.com:80", "/").unwrap();
println!("Response: {}", String::from_utf8_lossy(&response));
}