On this page
Overview
redis-rs is a Rust client for Redis, Valkey, and other RESP-compatible servers. It provides typed command traits, synchronous and asynchronous connections, cluster support, TLS, and optional module APIs.
Features and best fit
Based on official documentation; not hands-on tested · Content checked:
Key features
Map Redis commands into Rust types with TypedCommands and Commands
TypedCommands provides opinionated result types for common commands, while Commands uses FromRedisValue for flexible conversion. Manual command construction and pipelines remain available.
Sources: [2]
Best fit
Fits Rust backends using Redis or Valkey for caching, sessions, and shared state
It works across simple key/value operations, pipelines, clusters, Pub/Sub, and module commands while letting applications choose synchronous or asynchronous operation.
Sources: [2]
Before adoption
Check Rust 1.88+, server compatibility, blocking commands, and cluster patches
redis 1.7.1 requires Rust 1.88 and its CI covers Redis 6+ and Valkey 7+. Version 1.7.1 fixes READONLY handling for unsupported servers and an async cluster refresh race that could deadlock, so cluster deployments should stay current on patch releases.
Official sources
- [1]redis-rs/redis-rs — GitHub repository(2026-10-06)
- [2]redis-rs 1.7.1 — README(2026-10-06)
- [3]redis 1.7.1 — Cargo.toml(2026-10-06)
- [4]redis 1.7.1 release(2026-10-06)
Supplemental curator note
redis-rs supports both synchronous and asynchronous access in one client library. Async MultiplexedConnection values are cheap to clone and share, so non-blocking workloads do not necessarily require a traditional connection pool.
Try it in 3 steps
- 1
Clone the reviewed redis-rs release
Clone redis-rs 1.7.1. Rust 1.88 or newer, Make, and Redis tooling are required.
git clone --depth 1 --branch redis-1.7.1 https://github.com/redis-rs/redis-rs.git && cd redis-rs - 2
Build the core crate
Use the build command documented in the project development guide to compile the redis crate.
make build - 3
Run the basic test suite
Run the documented basic tests. Redis tooling must be discoverable; upstream CI covers Redis 6+ and Valkey 7+.
make test
Growth
Growth trends · Last 30 days
4,258 Stars
Trend data is still being collected.
Built with
Categories and tags
Categories
GitHub data
GitHub dataView detailed GitHub data
- Stars
- 4,258
- Forks
- 694
- Watchers
- 33
- Open issues
- 106
- Contributors
- 259
- Owner type
- Organization
- Primary language
- Rust
- License
- BSD-3-Clause
- Repository last updated
- Oct 5, 2026
Related information
Write a related articleShare a guide or use case for this OSS in Markdown. Articles are published after administrator approval.
Explore next
- Diesel14,193 Stars
3 shared tag(s) · 2 shared category(s) · Same language
validate SQL queries and schemas with Rust's type system through an ORM and query builder
Rust - SeaORM9,914 Stars
3 shared tag(s) · 2 shared category(s) · Same language
manage asynchronous queries, relations, and migrations with a relational ORM for Rust
Rust - Turso Database24,632 Stars
2 shared tag(s) · 2 shared category(s) · Same language
run SQLite-compatible SQL on a Rust database engine with bindings for multiple languages
Rust - Neon23,173 Stars
2 shared tag(s) · 2 shared category(s) · Same language
Decouple PostgreSQL compute from storage for branching and elastic database workflows
Rust - Hyper16,351 Stars
2 shared tag(s) · 2 shared category(s) · Same language
build HTTP/1 and HTTP/2 clients and servers with a low-level Rust library
Rust - reqwest11,864 Stars
2 shared tag(s) · 2 shared category(s) · Same language
use async or blocking Rust HTTP clients with JSON, TLS, proxies, and multipart support
Rust
Report incorrect information
Tell us if any listing information is incorrect or outdated.