From 0b73e866fa02966fa98dd976549a0087ddce5991 Mon Sep 17 00:00:00 2001 From: Chris Smith Date: Thu, 11 Dec 2025 15:50:59 -0500 Subject: [PATCH] feat: update axum --- Cargo.toml | 3 ++- crates/geoip/Cargo.toml | 4 ++-- crates/websocket/Cargo.toml | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index f5aefd4..dcb48e2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -40,6 +40,7 @@ websocket = ["dep:websocket"] [workspace.dependencies] aws-sdk-s3 = "1.21.0" +axum = "0.8.7" [dependencies] alloc = { path = "./crates/alloc", optional = true } @@ -57,7 +58,7 @@ structopt = { version = "0.3", default-features = false } tokio = { version = "1", features = ["full"] } hyper = { version = "1.2.0", features = ["full"] } tower = { version = "0.4", features = ["util", "filter"] } -axum = "0.7.5" +axum = { workspace = true } metrics-exporter-prometheus = { version = "0.15", default-features = false } [[example]] diff --git a/crates/geoip/Cargo.toml b/crates/geoip/Cargo.toml index 2f13b52..77347c0 100644 --- a/crates/geoip/Cargo.toml +++ b/crates/geoip/Cargo.toml @@ -12,7 +12,7 @@ middleware = ["dep:tower", "dep:tower-layer", "dep:axum-client-ip", "dep:http-bo tower = { version = "0.4", optional = true } tower-layer = { version = "0.3", optional = true } http-body = { version = "1.0.0", optional = true } -axum-client-ip = { version = "0.5.1", optional = true } +axum-client-ip = { version = "0.7.0", optional = true } bitflags = "2.4" hyper = "1.2.0" tracing = "0.1" @@ -24,4 +24,4 @@ maxminddb = "0.23" [dev-dependencies] tokio = { version = "1", features = ["full"] } -axum = "0.7.5" +axum = { workspace = true } diff --git a/crates/websocket/Cargo.toml b/crates/websocket/Cargo.toml index 0a112da..4a7b3f9 100644 --- a/crates/websocket/Cargo.toml +++ b/crates/websocket/Cargo.toml @@ -12,7 +12,7 @@ warp = ["dep:warp"] json = ["dep:serde", "dep:serde_json"] [dependencies] -axum = { optional = true, version = "0.8", features = ["ws"] } +axum = { optional = true, workspace = true, features = ["ws"] } tokio-tungstenite = { optional = true, version = "0.28" } tungstenite = { optional = true, version = "0.28" } warp = { optional = true, version = "0.4", features = ["websocket"] }