1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
use log::info; use std::sync::mpsc; mod db; mod logging; fn main() { logging::init(); info!("clinte starting up!"); println!("clinte-0.1-dev"); println!("a community notices system"); let (_tx, rx) = mpsc::channel::<db::Cmd>(); let db = db::Conn::new(rx); println!("{:?}", db); }