feat: add dist

This commit is contained in:
2023-05-18 15:50:47 +02:00
parent d976ad8621
commit 43ea3840cd
1879 changed files with 5754 additions and 2 deletions

18
bench_app/src/main.rs Normal file
View File

@@ -0,0 +1,18 @@
fn main() -> anyhow::Result<()> {
tokio::runtime::Builder::new_current_thread()
.enable_all()
.build()
.unwrap()
.block_on(async {
tracing_subscriber::fmt().pretty().init();
let cmd = clap::Command::new("bench_app").subcommand(clap::Command::new("bench"));
match cmd.get_matches().subcommand() {
Some(("bench", _)) => tracing::info!("some bench run"),
_ => todo!(),
}
});
Ok(())
}