finds.dev← search

// the find

aembke/fred.rs

★ 525 · Rust · Apache-2.0 · updated Feb 2025

An async client for Valkey and Redis

fred.rs is a full-featured async Rust client for Redis and Valkey, built on Tokio. It covers the full Redis command surface including cluster, sentinel, pub/sub, transactions, pipelining, and module extensions like RedisJSON and RediSearch. Aimed at Rust services that need more than what the standard redis-rs crate provides out of the box.

Automatic pipelining is genuinely useful — it batches commands transparently without the caller managing pipeline state explicitly. The feature flag design is well thought out: interface features (`i-*`) let you trim compile times by only including the command groups you actually use, which matters in larger projects. Built-in mocking interface means you can test code that uses Redis without spinning up a server. Runtime abstraction supports Tokio, Glommio, monoio, and smol, which is unusual and opens the door for io_uring-based deployments.

525 stars for a client this complete suggests it hasn't broken through as the community default — redis-rs still wins most Google searches, so you'll find less Stack Overflow help and fewer blog posts when something breaks. The Glommio support is explicitly marked experimental and the monoio/smol runtimes look lightly tested compared to Tokio. Compile times with `i-all` or `full-tracing` will be painful; the mitigation (feature flags) puts the burden on the caller to know which flags to enable. Last push was February 2025, which is fine, but the pace of commits has slowed and there's no obvious sign of active maintainer bandwidth for issues.

View on GitHub →

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →