use rot::{model::user::Users, 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 let users = Users::new(&pool).await.unwrap(); //TODO: fixme rest::start(pool) }