Crate features / hyper-util
Feature flags · hyper-util 0.1.21 · from crates.io 2026-10-24
hyper-util features: what each one does, and the line to copy
Short answerhyper-util 0.1.21 has 16 features. Nothing is on by default: turn on what you use. It needs Rust 1.85 or newer.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
__internal_happy_eyeballs_tests | nothing else (a switch the code checks) | |
client | hyper/client, dep:tracing, dep:futures-channel, dep:tower-service | |
client-legacy | client, tokio/net, dep:socket2, tokio/sync, dep:libc, dep:futures-util, dep:httparse | |
client-pool | client, dep:futures-util, dep:tower-layer, tokio/sync | |
client-proxy | client, dep:base64, dep:ipnet, dep:percent-encoding | |
client-proxy-system | dep:system-configuration, dep:windows-registry | |
full | client, client-legacy, client-pool, client-proxy, client-proxy-system, server, server-auto, server-graceful, service, http1, http2, tokio, tracing | |
http1 | hyper/http1 | |
http2 | hyper/http2 | |
rt-tracing-exec-force | tokio, tracing | |
server | hyper/server | |
server-auto | server, http1, http2 | |
server-graceful | server, tokio/sync | |
service | dep:tower-service | |
tokio | dep:tokio, tokio/rt, tokio/time | |
tracing | dep:tracing |
dep:x turns on the optional dependency x; x/y turns on feature y of dependency x (with ?, only if x is already on).
MSRV history
The minimum Rust version hyper-util declares (rust-version), and the release that changed it:
- 0.1.5 (2024-05-28): Rust 1.63
- 0.1.20 (2026-02-02): Rust 1.64
- 0.1.21 (2026-09-24): Rust 1.85
Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p hyper-util --precise <version>, or use resolver 3, which picks compatible versions for you.
More on hyper-util
Real downloads, dependents and alternatives: hyper-util crate data (1.9M real downloads a day, 3,155 dependents).
docs.rs feature list · crates.io · license MIT · edition 2024
Up next
Before you depend on ithyper-util crate dataReal downloads, dependents, alternatives.Read it next →Did this answer your question?