Skip to main content

doido_cache/
lib.rs

1pub mod codec;
2pub mod config;
3#[cfg(feature = "cache-db")]
4pub mod db_store;
5pub mod fetch;
6pub mod global;
7pub mod memory;
8pub mod multi;
9pub mod namespaced;
10pub mod registry;
11pub mod store;
12pub mod versioning;
13
14#[cfg(feature = "cache-memcache")]
15pub mod memcache_store;
16#[cfg(feature = "cache-redis")]
17pub mod redis_store;
18
19pub use config::{CacheBackend, CacheConfig, MultiCacheConfig};
20#[cfg(feature = "cache-db")]
21pub use db_store::DbCacheStore;
22pub use global::init as init_cache;
23pub use memory::MemoryStore;
24pub use namespaced::NamespacedStore;
25pub use registry::CacheRegistry;
26pub use store::CacheStore;
27
28#[cfg(feature = "cache-memcache")]
29pub use memcache_store::MemcacheStore;
30#[cfg(feature = "cache-redis")]
31pub use redis_store::RedisStore;