Including tracing setup in all examples (#79)

This commit is contained in:
David Pedersen
2021-08-01 22:01:33 +02:00
committed by GitHub
parent 6d787665d6
commit 666d088b26
10 changed files with 21 additions and 0 deletions
+2
View File
@@ -30,6 +30,8 @@ fn main() {
#[cfg(unix)]
#[tokio::main]
async fn main() {
tracing_subscriber::fmt::init();
let path = PathBuf::from("/tmp/axum/helloworld");
let _ = tokio::fs::remove_file(&path).await;