Skip to content

Commit 89d961d

Browse files
authored
feat: update axum to v0.8 (#31)
1 parent ced47f9 commit 89d961d

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ websocket = ["dep:websocket"]
4040

4141
[workspace.dependencies]
4242
aws-sdk-s3 = "1.21.0"
43+
axum = "0.8.7"
4344

4445
[dependencies]
4546
alloc = { path = "./crates/alloc", optional = true }
@@ -57,7 +58,7 @@ structopt = { version = "0.3", default-features = false }
5758
tokio = { version = "1", features = ["full"] }
5859
hyper = { version = "1.2.0", features = ["full"] }
5960
tower = { version = "0.4", features = ["util", "filter"] }
60-
axum = "0.7.5"
61+
axum = { workspace = true }
6162
metrics-exporter-prometheus = { version = "0.15", default-features = false }
6263

6364
[[example]]

crates/geoip/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ middleware = ["dep:tower", "dep:tower-layer", "dep:axum-client-ip", "dep:http-bo
1212
tower = { version = "0.4", optional = true }
1313
tower-layer = { version = "0.3", optional = true }
1414
http-body = { version = "1.0.0", optional = true }
15-
axum-client-ip = { version = "0.5.1", optional = true }
15+
axum-client-ip = { version = "0.7.0", optional = true }
1616
bitflags = "2.4"
1717
hyper = "1.2.0"
1818
tracing = "0.1"
@@ -24,4 +24,4 @@ maxminddb = "0.23"
2424

2525
[dev-dependencies]
2626
tokio = { version = "1", features = ["full"] }
27-
axum = "0.7.5"
27+
axum = { workspace = true }

crates/websocket/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ warp = ["dep:warp"]
1212
json = ["dep:serde", "dep:serde_json"]
1313

1414
[dependencies]
15-
axum = { optional = true, version = "0.8", features = ["ws"] }
15+
axum = { optional = true, workspace = true, features = ["ws"] }
1616
tokio-tungstenite = { optional = true, version = "0.28" }
1717
tungstenite = { optional = true, version = "0.28" }
1818
warp = { optional = true, version = "0.4", features = ["websocket"] }

0 commit comments

Comments
 (0)