diff options
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs index 9bc08ad..6c0d957 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,6 +1,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); } |