From d10710326da703f69eaa06723dc66e330fd32745 Mon Sep 17 00:00:00 2001 From: Vika Date: Wed, 1 Jan 2025 23:17:56 +0300 Subject: axum: 0.7.9 → 0.8.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Some breaking changes. For better or for worse. The optional extractor breaking change is a double-edged sword, since not all extractors can be used with `Option` now, and you have to use `Result` even when you want to ignore an error coming from an extractor, such as `Query`. However, this allows catching errors on authorization extractors even in places where authorization is optional. Change-Id: I35f809d3adf27dbef0e7ee93dc1a7af178b7d014 --- Cargo.toml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 9d4ba86..20d0f89 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -59,8 +59,8 @@ members = [".", "./util", "./templates", "./indieauth", "./templates-neo", "./to default-members = [".", "./util", "./templates", "./indieauth"] [workspace.dependencies] -axum = "0.7.9" -axum-core = "0.4.5" +axum = "0.8.1" +axum-core = "0.5.0" chrono = { version = "0.4.39", features = ["serde"] } clap = "4.5.23" data-encoding = "2.6.0" @@ -124,9 +124,8 @@ wiremock = "0.6.2" [dependencies] anyhow = { version = "1.0.95", optional = true } argon2 = { version = "0.5.3", features = ["std"] } -async-trait = "0.1.83" axum = { workspace = true, features = ["multipart", "json", "form", "macros"] } -axum-extra = { version = "0.9.6", features = ["cookie", "cookie-signed", "typed-header"] } +axum-extra = { version = "0.10.0", features = ["cookie", "cookie-signed", "typed-header"] } bytes = "1.9.0" chrono = { workspace = true } clap = { workspace = true, features = ["derive"], optional = true } -- cgit 1.4.1