Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update axum to 0.8 #23

Merged
merged 2 commits into from
Jan 24, 2025
Merged

update axum to 0.8 #23

merged 2 commits into from
Jan 24, 2025

Conversation

vsiles
Copy link
Contributor

@vsiles vsiles commented Jan 2, 2025

Updating axum and tonic to their latest releases: see #22

In this PR, I drop support for the previous version and move to the latest ones (tonic is master, not released yet).
Will require a new release.

Keeping support for both seems to be quite troublesome to correctly keep track / expose the set of packages, but doable.
Happy to discuss

Main change is related to this breaking change on axum:

breaking: Require Sync for all handlers and services added to Router and MethodRouter (tokio-rs/axum#2473)

@vsiles vsiles requested a review from Tpt January 2, 2025 12:21
@vsiles vsiles self-assigned this Jan 2, 2025
@vsiles
Copy link
Contributor Author

vsiles commented Jan 6, 2025

@Tpt I'll wait a few more days to see if tonic does a release so we don't depend on master+rev

@vsiles vsiles force-pushed the vsiles/push-vxsyorzzwowk branch from 8c5b747 to c50e6c6 Compare January 24, 2025 12:07
@vsiles vsiles changed the title update axum to 0.8 and tonic to 0.13 update axum to 0.8 Jan 24, 2025
@vsiles
Copy link
Contributor Author

vsiles commented Jan 24, 2025

No need to couple the update with tonic, they did the work on their end.

@vsiles
Copy link
Contributor Author

vsiles commented Jan 24, 2025

I need to double check the changes to build.rs.
EDIT: I think they are fine

@vsiles vsiles force-pushed the vsiles/push-vxsyorzzwowk branch 2 times, most recently from 2a6cb92 to 4c72b44 Compare January 24, 2025 12:23
@vsiles vsiles force-pushed the vsiles/push-vxsyorzzwowk branch from 4c72b44 to 9fef425 Compare January 24, 2025 12:27
Copy link
Contributor

@Tpt Tpt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@vsiles vsiles merged commit 1378afa into main Jan 24, 2025
8 checks passed
@vsiles vsiles deleted the vsiles/push-vxsyorzzwowk branch January 24, 2025 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants