Crate features / redis
Feature flags · redis 1.8.0 · from crates.io 2026-10-24
redis features: what each one does, and the line to copy
Short answerredis 1.8.0 has 29 features. By default it turns on acl, streams, geospatial, script, num-bigint; add default-features = false to start from nothing. It needs Rust 1.88 or newer.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
acl | yes | nothing else (a switch the code checks) |
aio | bytes, dep:pin-project-lite, dep:futures-util, dep:tokio, dep:tokio-util, dep:async-lock, tokio-util/codec, combine/tokio, dep:cfg-if | |
bb8 | dep:bb8 | |
bloom | nothing else (a switch the code checks) | |
cache-aio | aio, dep:lru | |
cluster | dep:crc16, dep:rand | |
cluster-async | aio, cluster, dep:log, dep:futures-channel | |
connection-manager | dep:arc-swap, dep:futures-channel, aio, dep:backon | |
entra-id | dep:azure_identity, dep:azure_core, dep:base64, token-based-authentication, tokio-comp | |
geospatial | yes | nothing else (a switch the code checks) |
json | dep:serde, serde/derive, dep:serde_json | |
num-bigint | yes | dep:num-bigint |
r2d2 | dep:r2d2 | |
script | yes | dep:sha1_smol |
search_unfinished | nothing else (a switch the code checks) | |
sentinel | dep:log, dep:rand | |
smol-comp | aio, dep:smol, dep:smol-timeout, dep:async-io | |
smol-native-tls-comp | smol-comp, dep:async-native-tls, tls-native-tls | |
smol-rustls-comp | smol-comp, dep:futures-rustls, tls-rustls | |
streams | yes | nothing else (a switch the code checks) |
tls-native-tls | dep:native-tls | |
tls-rustls | dep:rustls, rustls/std, dep:rustls-native-certs | |
tls-rustls-insecure | tls-rustls | |
tls-rustls-webpki-roots | tls-rustls, dep:webpki-roots | |
token-based-authentication | dep:futures-util, dep:log, dep:backon | |
tokio-comp | aio, tokio/net, tokio/rt, tokio/time | |
tokio-native-tls-comp | tokio-comp, tls-native-tls, dep:tokio-native-tls | |
tokio-rustls-comp | tokio-comp, tls-rustls, dep:tokio-rustls | |
vector-sets | dep:serde, serde/derive, dep:serde_json |
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 redis declares (rust-version), and the release that changed it:
- 0.32.3 (2025-06-30): Rust 1.80
- 1.0.0-alpha.1 (2025-08-19): Rust 1.85
- 0.32.6 (2025-09-26): Rust 1.80
- 1.0.0-alpha.2 (2025-10-01): Rust 1.85
- 0.32.7 (2025-10-03): Rust 1.80
- 1.0.0-rc.0 (2025-10-06): Rust 1.85
- 0.21.8 (2026-05-03): no rust-version declared
- 1.2.1 (2026-05-03): Rust 1.85
- 0.22.4 (2026-05-05): Rust 1.64.0
- 0.23.5 (2026-05-06): Rust 1.65
- 1.2.2 (2026-05-29): Rust 1.85
- 1.2.3 (2026-06-13): Rust 1.88
Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p redis --precise <version>, or use resolver 3, which picks compatible versions for you.
More on redis
Real downloads, dependents and alternatives: redis crate data (358.3K real downloads a day, 1,549 dependents).
docs.rs feature list · crates.io · license BSD-3-Clause · edition 2024
Up next
Before you depend on itredis crate dataReal downloads, dependents, alternatives.Read it next →Did this answer your question?