refactor: split

This commit is contained in:
2022-12-24 16:55:42 +01:00
parent e1da57a407
commit 1b8b304ebc
15 changed files with 187 additions and 94 deletions

10
server/src/main.rs Normal file
View File

@@ -0,0 +1,10 @@
use clap::Parser;
mod api;
#[tokio::main(flavor = "current_thread")]
async fn main() -> anyhow::Result<()> {
tracing_subscriber::fmt::init();
api::run(api::ApiArgs::parse()).await
}