Hyper is a fast and correct HTTP implementation for Rust. Created by Sean McArthur, Hyper is the low-level HTTP library that powers higher-level frameworks like Axum, Warp, Tonic, and the Rust HTTP client crate Reqwest.
It supports HTTP/1.x and HTTP/2, both client and server, and exposes a low-level service-oriented API based on the Tower ecosystem.
A fast and correct HTTP implementation for Rust. The HTTP library most other Rust web frameworks build on.
✨ Features
Both protocols implemented in pure Rust. Negotiate via ALPN automatically.
No buffer-overrun-class CVEs. The Rust borrow checker enforces correctness.
tower::Service trait makes middleware and handlers composable across the ecosystem.
Years of optimization. Underpins crates that consistently lead web framework benchmarks.
When you need to bypass the framework, drop down to hyper for full HTTP control.