enable axum's tracing feature

This pretty much only makes it log a single error event, but it's one
that's useful to know about.
This commit is contained in:
Charles Hall 2024-05-26 19:29:40 -07:00
parent 8f0fdfb2f2
commit a275543494
No known key found for this signature in database
GPG key ID: 7B8E0645816E07CF
2 changed files with 2 additions and 1 deletions

1
Cargo.lock generated
View file

@ -192,6 +192,7 @@ dependencies = [
"tower", "tower",
"tower-layer", "tower-layer",
"tower-service", "tower-service",
"tracing",
] ]
[[package]] [[package]]

View file

@ -88,7 +88,7 @@ workspace = true
# Keep sorted # Keep sorted
[dependencies] [dependencies]
async-trait = "0.1.80" async-trait = "0.1.80"
axum = { version = "0.7.5", default-features = false, features = ["form", "http1", "http2", "json", "matched-path"] } axum = { version = "0.7.5", default-features = false, features = ["form", "http1", "http2", "json", "matched-path", "tracing"] }
axum-extra = { version = "0.9.3", features = ["typed-header"] } axum-extra = { version = "0.9.3", features = ["typed-header"] }
axum-server = { version = "0.6.0", features = ["tls-rustls"] } axum-server = { version = "0.6.0", features = ["tls-rustls"] }
base64 = "0.22.1" base64 = "0.22.1"