Skip to main content

rs_zero/cache/
mod.rs

1//! Cache abstractions and a default in-memory backend.
2
3pub mod config;
4pub mod error;
5pub mod key;
6pub mod memory;
7pub mod store;
8
9pub use config::CacheConfig;
10pub use error::{CacheError, CacheResult};
11pub use key::CacheKey;
12pub use memory::MemoryCacheStore;
13pub use store::CacheStore;
14
15#[cfg(feature = "cache-redis")]
16pub use crate::cache_redis as redis;