1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
use std::sync::Arc; use arc_swap::ArcSwap; use crate::config::Config; use crate::events; } pub fn setup(config: Arc<ArcSwap<Config>>) -> Handlers { events::register(); let handlers = Handlers { }; handlers }