hyperium/hyper
Developer ToolsA low-level Rust HTTP/1 and HTTP/2 library for building async clients and servers on Tokio.
What it is
Hyper is a low-level HTTP library for Rust that implements HTTP/1 and HTTP/2 with an asynchronous design. It exposes separate client and server APIs, so it is intended as a building block for libraries and applications rather than a ready-made HTTP client or web framework.
The project is written in Rust, is licensed under MIT, and documents its API on docs.rs. Its own guides and documentation live on the project site.
When to use it directly
Choose Hyper when you need control over connections, protocol handling, or request/response processing inside a larger stack. The README explicitly calls it low-level and suggests reqwest when you want a convenient HTTP client. For a higher-level server framework, it points to axum or warp, both built on Hyper.
Getting started
The repository contains a Cargo.toml and is distributed as the hyper crate; add it to a Rust project from crates.io and follow the version-specific guides. The README does not include a complete runnable example, so the exact dependency version, feature flags, and Tokio setup should be taken from the current guide for the release you use. The guides are the authoritative starting point rather than the README itself.
Constraints
- Requires Rust and an asynchronous runtime; Hyper's examples and ecosystem assume Tokio, though the README does not spell out runtime setup.
- It is not a plug-in replacement for a high-level client or framework; expect to assemble request handling, connection management, and runtime integration yourself.
- HTTP/1 and HTTP/2 are the documented protocols; nothing in the provided material establishes support for other versions.
HotRepo's take
The library recorded 66 new stars over the week ending 4 December 2026 on the Rust weekly list, where it reached position 7. That is a single weekly snapshot rather than a long trend, but it shows continued attention to a long-standing HTTP foundation. For readers, the practical distinction remains the one the README draws: use Hyper for protocol-level control, and reach for its higher-level consumers when a ready-made client or server framework is the better fit.
Written by AI from the project's public information and HotRepo's records, updated . The project's own docs are the source of truth.
Hacker News
You might also like
- encode/httpxA full-featured Python HTTP client with sync/async APIs, HTTP/2 and a built-in CLI.
- psf/requestsA Python HTTP library for sending HTTP/1.1 requests with sessions, auth, TLS verification and streaming.
- go-chi/chiA lightweight net/http-compatible Go router for building maintainable REST APIs and HTTP services of any size.
- tokio-rs/tokioA Rust runtime for building fast, reliable asynchronous networked applications with tasks, timers, and non-blocking I/O.
- apache/iggyA Rust message streaming server for teams that want Kafka-style append-only log semantics without running a JVM stack.