Skip to content

Upgrade Rust edition to 2024#83

Merged
sile merged 2 commits intomasterfrom
2024-edition
Feb 15, 2026
Merged

Upgrade Rust edition to 2024#83
sile merged 2 commits intomasterfrom
2024-edition

Conversation

@sile
Copy link
Owner

@sile sile commented Feb 15, 2026

This PR updates the project to Rust edition 2024 and upgrades the actions/checkout action from v5 to v6 across all CI/CD workflows. Additionally, it refactors nested if let statements in src/finish.rs to use Rust 2024's let...else chaining syntax, and removes trailing whitespace.

Changes:

  • Workflows: Updated actions/checkout from v5 to v6 in ci.yml and release.yml
  • Edition: Bumped Rust edition from 2021 to 2024 in Cargo.toml, flate_bench/Cargo.toml, and libflate_lz77/Cargo.toml
  • Code modernization: Refactored Drop impl in src/finish.rs to use new let...else chaining (Rust 2024 feature)
  • Cleanup: Removed trailing blank line in Cargo.toml

@sile sile merged commit cad002d into master Feb 15, 2026
38 checks passed
@sile sile deleted the 2024-edition branch February 15, 2026 11:08
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