rs-zero 0.1.1

Rust-first microservice framework inspired by go-zero engineering practices
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Cache abstractions and a default in-memory backend.

pub mod config;
pub mod error;
pub mod key;
pub mod memory;
pub mod store;

pub use config::CacheConfig;
pub use error::{CacheError, CacheResult};
pub use key::CacheKey;
pub use memory::MemoryCacheStore;
pub use store::CacheStore;

#[cfg(feature = "cache-redis")]
pub use crate::cache_redis as redis;