pub trait Cashier {
fn set(&self, key: &str, value: &str) -> anyhow::Result<()>;
fn set_with_ttl(&self, key: &str, value: &str, ttl: u64) -> anyhow::Result<()>;
fn get(&self, key: &str) -> anyhow::Result<Option<String>>;
fn delete(&self, key: &str) -> anyhow::Result<()>;
fn clear(&self) -> anyhow::Result<()>;
}
#[cfg(feature = "dynamo")]
pub mod dynamo;
pub mod memory;
#[cfg(feature = "redis")]
pub mod redis;