Crate features / reqwest
Feature flags · reqwest 0.13.5 · from crates.io 2026-10-24
reqwest features: what each one does, and the line to copy
Short answerreqwest 0.13.5 has 29 features. By default it turns on default-tls, charset, http2, system-proxy; add default-features = false to start from nothing. It needs Rust 1.85.0 or newer.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
__native-tls | dep:hyper-tls, dep:native-tls-crate, __tls, dep:tokio-native-tls | |
__native-tls-alpn | native-tls-crate?/alpn, hyper-tls?/alpn | |
__rustls | dep:hyper-rustls, dep:tokio-rustls, dep:rustls, __tls | |
__rustls-aws-lc-rs | hyper-rustls?/aws-lc-rs, tokio-rustls?/aws-lc-rs, rustls?/aws-lc-rs, quinn?/rustls-aws-lc-rs | |
__tls | dep:rustls-pki-types, tokio/io-util | |
blocking | dep:futures-channel, futures-channel?/sink, dep:futures-util, futures-util?/io, futures-util?/sink, tokio/sync | |
brotli | tower-http/decompression-br | |
charset | yes | dep:encoding_rs, dep:mime |
cookies | dep:cookie_crate, dep:cookie_store | |
default-tls | yes | rustls |
deflate | tower-http/decompression-deflate | |
form | dep:serde, dep:serde_urlencoded | |
gzip | tower-http/decompression-gzip | |
hickory-dns | dep:hickory-resolver, dep:once_cell | |
http2 | yes | dep:h2, hyper/http2, hyper-util/http2, hyper-rustls?/http2 |
http3 | rustls, dep:h3, dep:h3-quinn, dep:quinn, tokio/macros | |
json | dep:serde, dep:serde_json | |
multipart | dep:mime_guess, dep:futures-util | |
native-tls | __native-tls, __native-tls-alpn | |
native-tls-no-alpn | __native-tls | |
native-tls-vendored | __native-tls, native-tls-crate?/vendored, __native-tls-alpn | |
native-tls-vendored-no-alpn | __native-tls, native-tls-crate?/vendored | |
query | dep:serde, dep:serde_urlencoded | |
rustls | __rustls-aws-lc-rs, dep:rustls-platform-verifier, __rustls | |
rustls-no-provider | dep:rustls-platform-verifier, __rustls | |
socks | nothing else (a switch the code checks) | |
stream | tokio/fs, dep:futures-util, dep:tokio-util, dep:wasm-streams | |
system-proxy | yes | hyper-util/client-proxy-system |
zstd | tower-http/decompression-zstd |
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 reqwest declares (rust-version), and the release that changed it:
- 0.11.16 (2023-03-27): Rust 1.57.0
- 0.11.19 (2023-08-21): Rust 1.63.0
- 0.12.10 (2024-12-26): Rust 1.64.0
- 0.13.4 (2026-05-25): Rust 1.85.0
Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p reqwest --precise <version>, or use resolver 3, which picks compatible versions for you.
More on reqwest
Real downloads, dependents and alternatives: reqwest crate data (2.5M real downloads a day, 31,677 dependents).
docs.rs feature list · crates.io · license MIT OR Apache-2.0 · edition 2021
Up next
Before you depend on itreqwest crate dataReal downloads, dependents, alternatives.Read it next →Did this answer your question?