~gbmor/clinte

ref: 5b59ba3aee3e874b2e67cf529680d19910a3ec7d clinte/src/main.rs -rw-r--r-- 312 bytes
5b59ba3a — Ben Morrison db connected, logging up 2 years ago
                                                                                
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);
}