corund 0.2.0

Portable auth server.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use corund_lib::get_router;
use log::info;

#[tokio::main]
async fn main() {
    colog::init();

    // let args: Vec<String> = env::args().collect();

    info!("start server http://0.0.0.0:3000");
    let listener =
        tokio::net::TcpListener::bind("0.0.0.0:3000").await.unwrap();
    axum::serve(listener, get_router()).await.unwrap();
}