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

Upgrade to edition 2024 #5446

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Upgrade to edition 2024 #5446

wants to merge 1 commit into from

Conversation

Nutomic
Copy link
Member

@Nutomic Nutomic commented Feb 21, 2025

https://blog.rust-lang.org/2025/02/20/Rust-1.85.0.html

Wanted to see how easy or hard this it, and it turned out very simple. Only problem was gen being used as function name by a library which is a reserved keyword now (daniel-e/captcha#30). There are also many formatting changes, with imports got reordered and multiple lines merged into one. I havent included those in the PR yet to avoid conflicts so CI is currently failing.

This requires Rust 1.85 so lets wait a while before merging.

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.

1 participant