actix-storage-redis

Crates.ioactix-storage-redis
lib.rsactix-storage-redis
version0.3.0
sourcesrc
created_at2020-11-02 22:29:03.686841
updated_at2023-01-11 23:23:34.005286
descriptionAn implementation of actix-storage based on redis-rs
homepage
repositoryhttps://github.com/pooyamb/actix-storage/
max_upload_size
id308080
size22,990
Pouya Mobasher Behrouz (pooyamb)

documentation

https://docs.rs/actix-storage-redis

README

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?;
Commit count: 192

cargo fmt