From a275543494f687afe347dcdbbe83ada5f8b89f7d Mon Sep 17 00:00:00 2001 From: Charles Hall Date: Sun, 26 May 2024 19:29:40 -0700 Subject: [PATCH] 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. --- Cargo.lock | 1 + Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index 11ba7590..7d5e3abb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -192,6 +192,7 @@ dependencies = [ "tower", "tower-layer", "tower-service", + "tracing", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index f4f7e713..bedeac21 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -88,7 +88,7 @@ workspace = true # Keep sorted [dependencies] 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-server = { version = "0.6.0", features = ["tls-rustls"] } base64 = "0.22.1"