From d8427b2acde65c983b5c9af95ce011598b114071 Mon Sep 17 00:00:00 2001 From: Atrox Date: Tue, 4 Mar 2025 19:18:47 +0100 Subject: update axum to v0.8 (#118) * update axum to v0.8 * update rust-version to 1.75 * remove async_trait * Revert msrv change --------- Co-authored-by: Sam Scott --- Cargo.toml | 2 +- src/axum.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 1b65e53..461dfee 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,7 +21,7 @@ serde = "1.0" thiserror = "1.0" tracing = { version = "0.1", optional = true } warp-framework = { package = "warp", version = "0.3", default-features = false, optional = true } -axum-framework = { package = "axum", version = "0.7", default-features = false, optional = true } +axum-framework = { package = "axum", version = "0.8", default-features = false, optional = true } [dev-dependencies] chrono = { version = "0.4", features = ["serde"] } diff --git a/src/axum.rs b/src/axum.rs index e9a3c17..42bc0a6 100644 --- a/src/axum.rs +++ b/src/axum.rs @@ -68,7 +68,6 @@ impl std::fmt::Debug for QsQuery { } } -#[axum::async_trait] impl FromRequestParts for QsQuery where T: serde::de::DeserializeOwned, -- cgit v1.2.3