# redis-rs/redis-rs

Redis library for rust

Repository: https://github.com/redis-rs/redis-rs
Canonical: https://ross.abutalabs.com/products/redis-rs
Homepage: https://docs.rs/redis
Language: Rust
License: NOASSERTION
License Family: other
Last push: 2026-08-26T13:46:29+00:00

## Health v2 (maintenance only)
Score: 95/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 86, longevity 100
- inputs: {"age_days": 4630, "days_push": 7, "days_rel": 18, "gap_med": 7, "n_releases_24m": 62}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4245, forks 689 (observed 2026-08-28T04:08:40.351127+00:00)

## What it is
redis-rs is a high-level Rust client library for Redis, Valkey, and any RESP-compliant server. It offers both sync and async APIs (tokio/smol), flexible type conversion, connection pooling, cluster support, and TLS.

## Use cases
- connect to redis from rust
- use redis as a cache in a rust web app
- publish and subscribe to redis channels in rust
- work with redis streams from rust
- connect to a redis cluster from rust
- store and retrieve typed values in redis
- use valkey with rust

## When to choose
- you are building a Rust application that needs Redis or Valkey
- you need async Redis access with tokio or smol
- you want typed command results and flexible value conversion
- you need cluster, sentinel, TLS, or connection pooling support

## When to avoid
- you use a language other than Rust
- you need a Redis server itself rather than a client
- you need a higher-level ORM-like abstraction over Redis data

## Facets
- artifact type: library
- maturity: stable
- function: database-driver, caching, serialization
- domain: databases, developer-tools, backend
- platform: rust, cross-platform
- tags: redis, valkey, resp, async, tokio, cluster, pubsub

## Member repositories
- redis-rs/redis-rs (main) score 95

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:40.351127+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:22:12.830530+00:00, confidence not recorded.
  - readme: https://github.com/redis-rs/redis-rs (fetched 2026-08-28T04:08:40.351127+00:00, sha 5c694157a7a8)
  - homepage: https://docs.rs/redis (fetched 2026-08-29T09:12:02.182200+00:00, sha c5860b7926bb)
  - site_page: https://docs.rs/about/redirections (fetched 2026-08-29T09:12:02.207327+00:00, sha 1b1efd93105f)
  - site_page: https://docs.rs/ (fetched 2026-08-29T09:12:02.192442+00:00, sha 425b2676af8b)
  - site_page: https://docs.rs/crate/redis/latest (fetched 2026-08-29T09:12:02.194643+00:00, sha 2fc4253a9f58)
  - site_page: https://docs.rs/crate/redis/latest/features (fetched 2026-08-29T09:12:02.197268+00:00, sha 37880e89f54f)
  - site_page: https://docs.rs/about (fetched 2026-08-29T09:12:02.199371+00:00, sha 29ab7986fbf5)
  - site_page: https://docs.rs/about/badges (fetched 2026-08-29T09:12:02.201541+00:00, sha 6588cac258af)
  - site_page: https://docs.rs/about/builds (fetched 2026-08-29T09:12:02.203540+00:00, sha 811231ca4680)
  - site_page: https://docs.rs/about/metadata (fetched 2026-08-29T09:12:02.205395+00:00, sha 0dcdccb2b2b2)
- Data as of 2026-08-30T08:39:29.467469+00:00.
