Skip to content

Commit ed87782

Browse files
authored
Fix dependency versions in axum-extra (#782)
Updating to axum-extra 0.1.3 might cause the build to fail if axum wasn't also updated, since axum-extra 0.1.3 needs `axum::middleware::from_fn`. This fixes that by depending on the right patch versions for axum and axum-macros.
1 parent aa4ab8b commit ed87782

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

axum-extra/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
# Unreleased
99

10-
- None.
10+
- **fix:** Depend on the right versions of axum and axum-macros.
1111

1212
# 0.1.3 (22. February, 2022)
1313

axum-extra/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ erased-json = ["serde_json", "serde"]
1515
typed-routing = ["axum-macros", "serde", "percent-encoding"]
1616

1717
[dependencies]
18-
axum = { path = "../axum", version = "0.4" }
18+
axum = { path = "../axum", version = "0.4.6" }
1919
bytes = "1.1.0"
2020
http = "0.2"
2121
mime = "0.3"
@@ -26,7 +26,7 @@ tower-layer = "0.3"
2626
tower-service = "0.3"
2727

2828
# optional dependencies
29-
axum-macros = { path = "../axum-macros", version = "0.1", optional = true }
29+
axum-macros = { path = "../axum-macros", version = "0.1.1", optional = true }
3030
serde = { version = "1.0", optional = true }
3131
serde_json = { version = "1.0.71", optional = true }
3232
percent-encoding = { version = "2.1", optional = true }

0 commit comments

Comments
 (0)