Update to Rust 2024 edition with latest dependencies#1467
Open
tagawa0525 wants to merge 3 commits into
Open
Conversation
- Upgrade edition from 2021 to 2024, rust-version to 1.85 - Update core dependencies: alpm 5.0.0, srcinfo 2.0.0, reqwest 0.12.25 - Wrap set_var/remove_var in unsafe blocks (required in Rust 2024) - Adapt to srcinfo 2.0.0 API changes: - parse_file() -> from_path() - parse_buf() -> from_buf() - .names() -> .pkgnames() - .vec -> .values() - .arch -> .arch() - ArchVec::supported() -> iterator-based filtering - Update toml parsing API (0.8 -> 0.9) - Use local patches for raur and aur-depends with reqwest 0.12
|
Turning Test failed |
|
Author
|
sorry, needs below updates |
|
I've made some additional changes to your update. Once raur's update is adopted and the version number is updated to 8.0.0, I plan to reopen the paru PR. |
|
Once the raur update is adopted and the version number is updated to 8.0.0, we can support Rust 2024 Edition by updating the raur version to 8.0.0 in both paru and aur-depends. Morganamilo/aur-depends#24 Merging both #1500 and Morganamilo/aur-depends#24 will make it compatible with the 2024 edition. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR updates the project to use Rust 2024 edition and updates all dependencies to their latest compatible versions.
Changes
Testing
Motivation
Keeping dependencies up-to-date provides: