Rework error handling example (#2382)

This commit is contained in:
David Pedersen
2023-12-29 01:49:13 +01:00
committed by GitHub
parent 6c276c3ff0
commit c3db223532
3 changed files with 235 additions and 160 deletions
+13
View File
@@ -0,0 +1,13 @@
[package]
name = "example-error-handling"
version = "0.1.0"
edition = "2021"
publish = false
[dependencies]
axum = { path = "../../axum", features = ["macros"] }
serde = { version = "1.0", features = ["derive"] }
tokio = { version = "1.0", features = ["full"] }
tower-http = { version = "0.5", features = ["trace"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }