use std::sync::Arc; use dashmap::DashMap; use lazy_static::lazy_static; lazy_static! { pub static ref CTX: Context = Context::default(); } #[derive(Debug, Default, Clone)] pub struct Context { pub cache: Arc, pub timelines: Arc, } #[derive(Debug, Default)] pub struct Cache { pub user: DashMap, } #[derive(Debug, Default)] pub struct Timelines { }