Crate features / ureq
Feature flags · ureq 3.5.0 · from crates.io 2026-10-24
ureq features: what each one does, and the line to copy
Short answerureq 3.5.0 has 22 features. By default it turns on rustls, gzip; add default-features = false to start from nothing. It needs Rust 1.85 or newer.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
_doc | rustls?/aws-lc-rs | |
_ring | rustls?/ring | |
_rustls | nothing else (a switch the code checks) | |
_test | nothing else (a switch the code checks) | |
_tls | dep:rustls-pki-types | |
_url | dep:url | |
brotli | dep:brotli-decompressor | |
charset | dep:encoding_rs | |
cookies | dep:cookie_store, _url | |
gzip | yes | dep:flate2 |
json | dep:serde, dep:serde_json, cookie_store?/serde_json | |
multipart | dep:mime_guess, dep:getrandom | |
native-tls | native-tls-no-default, dep:der, _tls, native-tls-webpki-roots | |
native-tls-no-default | dep:native-tls, dep:der, _tls | |
native-tls-webpki-roots | dep:webpki-root-certs | |
platform-verifier | dep:rustls-platform-verifier | |
rustls | yes | rustls-no-provider, _ring, rustls-webpki-roots |
rustls-no-provider | dep:rustls, _tls, _rustls | |
rustls-webpki-roots | dep:webpki-roots | |
socks-proxy | nothing else (a switch the code checks) | |
vendored | native-tls?/vendored | |
win-system-proxy | dep:winreg |
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 ureq declares (rust-version), and the release that changed it:
- 2.9.4 (2024-01-31): Rust 1.61
- 2.10.0 (2024-07-06): Rust 1.63
- 3.0.0-rc1 (2024-09-28): Rust 1.67
- 3.0.0-rc3 (2024-11-27): Rust 1.71.1
- 2.11.0 (2024-11-28): Rust 1.67
- 2.12.0 (2024-12-03): Rust 1.71
- 3.0.0-rc4 (2025-01-02): Rust 1.71.1
- 3.3.0 (2026-03-21): Rust 1.85
Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p ureq --precise <version>, or use resolver 3, which picks compatible versions for you.
More on ureq
Real downloads, dependents and alternatives: ureq crate data (840.5K real downloads a day, 4,472 dependents).
docs.rs feature list · crates.io · license MIT OR Apache-2.0 · edition 2024
Up next
Before you depend on itureq crate dataReal downloads, dependents, alternatives.Read it next →Did this answer your question?