openauth-redis
Redis and Valkey integrations for OpenAuth-RS using redis-rs.
Status
This package is in experimental beta. URL handling, key layout, Lua script behavior, and rate-limit contracts may change before stable release.
What It Provides
openauth-redis provides a distributed RateLimitStore backed by Redis or
Valkey through redis-rs. It uses Lua scripting for atomic consume decisions
and accepts valkey:// and valkeys:// aliases.
Example
use ;
use RedisRateLimitStore;
let store = connect.await?;
let auth = builder
.secret
.rate_limit
.build?;
Use this crate when your application already uses redis-rs; use
openauth-fred when you prefer the fred client.