6 releases

0.3.0 Jan 11, 2023
0.2.0 Mar 26, 2021
0.1.1 Nov 4, 2020

#1282 in HTTP server

MIT/Apache

91KB
1.5K SLoC

actix-storage-redis

This crate provides an implementation for actix-storage based on redis.

Please refer to actix-storage crate documentations for full details about usage and use cases.

There are 2 different implementers available in this crate

RedisBackend

RedisBackend is a full expiry_store implementation.

// Connecting to the redis instance on localhost without username/password(for dev env)
let store = RedisBackend::connect_default().await?;
// OR connect with the provided redis::ConnectionInfo
let store = RedisBackend::connect(connection_info).await?;

Dependencies

~18–33MB
~600K SLoC