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 to Rust 2025 #11724

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Update to Rust 2025 #11724

wants to merge 3 commits into from

Conversation

konstin
Copy link
Member

@konstin konstin commented Feb 23, 2025

Update to Rust 2025, replace one |...| async with async |...| (other interesting closures are tracing-instrumented) and all |...| async move with async |...|.

The changes are generally cargo fix, cargo fmt and occasional manual editing where cargo fix failed, such as removing the ref muts and refs for values that are already references, which is forbidden in the 2025 edition.

@konstin konstin added the internal A refactor or improvement that is not user-facing label Feb 23, 2025
@charliermarsh
Copy link
Member

Do conda-forge and Homebrew support this yet?

@konstin
Copy link
Member Author

konstin commented Feb 25, 2025

homebrew is at 1.85 (https://formulae.brew.sh/formula/rust), conda-forge is still on 1.84 (https://anaconda.org/conda-forge/rust).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal A refactor or improvement that is not user-facing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants