1 2 3 4 5 6 7 8 9 10 11 12 13 14
pub mod config; pub mod error; pub mod support; pub mod traits; pub type CacheResult<T, E = error::Error> = Result<T, E>; pub struct Cache { driver: Box<dyn traits::CacheDriver>, config: config::Cache, } // re-export pub use soph_core::*;