mod api; mod call; use anyhow::Result; #[tokio::main] async fn main() -> Result<()> { println!("Starting BaseAuth server v0.1"); let tx = call::start_worker().await?; api::start_worker(8080, tx).await?; loop {} Ok(()) }