A protective and efficient, low-level HTTP library for Rust, supporting HTTP/1 and HTTP/2 with client and server APIs.
hyper is a low-level HTTP library for the Rust programming language. It provides efficient, asynchronous client and server APIs supporting both HTTP/1 and HTTP/2 protocols, designed as a foundational building block for web applications and higher-level frameworks.
Rust developers building web servers, clients, or frameworks who require a reliable, performant, and correct HTTP implementation as a base layer.
Developers choose hyper for its proven performance, rigorous correctness, extensive production use, and its role as the trusted foundation for many popular Rust web ecosystems like reqwest, axum, and warp.
An HTTP library for Rust
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Supports both HTTP/1 and HTTP/2, enabling modern web standards and efficient communication as highlighted in the key features.
Built for non-blocking I/O, making it ideal for high-concurrency environments, which is emphasized in the project description.
Optimized for speed and low resource usage, with claims of leading performance backed by extensive production use.
Rigorously tested for correctness and widely used in real-world applications, serving as a trusted base for frameworks like axum and warp.
Requires manual handling of HTTP details and async programming, making it less accessible for developers seeking quick solutions compared to higher-level libraries like reqwest.
Lacks built-in conveniences such as JSON serialization or TLS support, often necessitating extra crates and boilerplate code for common tasks.
While foundational, users frequently need to integrate with other libraries for full functionality, adding complexity to the dependency management and learning curve.