summary refs log tree commit diff stats
path: root/src/main.rs
blob: 6c0d9575b8374666166c2ffe35f9be69af716c98 (plain) (blame)
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);
}