Skip to content

feat: bump cornucopia and workspace to Rust edition 2024#300

Merged
LouisGariepy merged 2 commits into
mainfrom
298-bump-edition-to-2024
May 20, 2026
Merged

feat: bump cornucopia and workspace to Rust edition 2024#300
LouisGariepy merged 2 commits into
mainfrom
298-bump-edition-to-2024

Conversation

@LouisGariepy
Copy link
Copy Markdown
Member

Cornucopia itself and all non-generated workspace crates move to edition 2024. Workspace resolver moves to "3" (the default for 2024).

Side-effect changes required by 2024:

  • Renamed the codegen entry point from gen to generate since gen is now a reserved keyword.
  • Collapsed nested if let blocks into let-chains where new clippy lints flagged them.

Cornucopia itself and all non-generated workspace crates move to
edition 2024. Workspace resolver moves to "3" (the default for 2024).

Side-effect changes required by 2024:
- Renamed the codegen entry point from `gen` to `generate` since `gen`
  is now a reserved keyword.
- Collapsed nested `if let` blocks into let-chains where new clippy
  lints flagged them.
@LouisGariepy LouisGariepy linked an issue May 20, 2026 that may be closed by this pull request
@LouisGariepy LouisGariepy merged commit 2d3b950 into main May 20, 2026
5 checks passed
@github-actions github-actions Bot mentioned this pull request May 20, 2026
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.

Bump edition to 2024

1 participant