use rot::rest; use sqlx::SqlitePool; #[macro_use] extern crate rocket; #[launch] async fn rocket() -> _ { env_logger::init(); //let pool = SqlitePool::connect(":memory:").await.unwrap(); let pool = SqlitePool::connect("db.sqlite").await.unwrap(); //TODO: fixme rest::start(pool) }