Skip to content

Commit

Permalink
Fix dependency versions in axum-extra (#782)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
davidpdrsn authored Feb 22, 2022
1 parent aa4ab8b commit ed87782
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion axum-extra/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

# Unreleased

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

# 0.1.3 (22. February, 2022)

Expand Down
4 changes: 2 additions & 2 deletions axum-extra/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ erased-json = ["serde_json", "serde"]
typed-routing = ["axum-macros", "serde", "percent-encoding"]

[dependencies]
axum = { path = "../axum", version = "0.4" }
axum = { path = "../axum", version = "0.4.6" }
bytes = "1.1.0"
http = "0.2"
mime = "0.3"
Expand All @@ -26,7 +26,7 @@ tower-layer = "0.3"
tower-service = "0.3"

# optional dependencies
axum-macros = { path = "../axum-macros", version = "0.1", optional = true }
axum-macros = { path = "../axum-macros", version = "0.1.1", optional = true }
serde = { version = "1.0", optional = true }
serde_json = { version = "1.0.71", optional = true }
percent-encoding = { version = "2.1", optional = true }
Expand Down

0 comments on commit ed87782

Please sign in to comment.