tideway 0.1.0

A batteries-included Rust web framework built on Axum for building SaaS applications quickly
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Caching abstractions with multiple backend implementations.
//!
//! Provides in-memory caching by default, with optional Redis support
//! via the `cache-redis` feature.

mod config;
mod in_memory;
mod noop;

#[cfg(feature = "cache-redis")]
mod redis;

pub use config::CacheConfig;
pub use in_memory::InMemoryCache;
pub use noop::NoOpCache;

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