summary refs log blame commit diff stats
path: root/src/main.rs
blob: 6c0d9575b8374666166c2ffe35f9be69af716c98 (plain) (tree)
1
2
3
4
5
6
7
8
9


                    
       
            
 
           

                                 

                                           




                                               
 
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);
}