| Crates.io | actix-storage-redis |
| lib.rs | actix-storage-redis |
| version | 0.3.0 |
| created_at | 2020-11-02 22:29:03.686841+00 |
| updated_at | 2023-01-11 23:23:34.005286+00 |
| description | An implementation of actix-storage based on redis-rs |
| homepage | |
| repository | https://github.com/pooyamb/actix-storage/ |
| max_upload_size | |
| id | 308080 |
| size | 22,990 |
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 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?;