Skip to content

Update Rust edition from 2021 to 2024#67

Merged
frisoft merged 3 commits into
mainfrom
chore/update-edition-to-2024
Jul 14, 2026
Merged

Update Rust edition from 2021 to 2024#67
frisoft merged 3 commits into
mainfrom
chore/update-edition-to-2024

Conversation

@frisoft

@frisoft frisoft commented Jul 14, 2026

Copy link
Copy Markdown
Owner

Bump the Rust edition to 2024 (latest stable edition available since Rust 1.85).

Changes:

  • Cargo.toml: edition set to "2024"
  • src/client/blame.rs, src/client/mod.rs, src/table.rs: reformatted by cargo fmt (import ordering changes due to edition 2024 rules)
  • src/config.rs: replaced env::set_var/env::remove_var (now unsafe in 2024 edition) with temp_env::with_var/with_vars for safe, panic-proof env var handling in tests
  • Cargo.toml: added temp-env dev-dependency

@frisoft
frisoft merged commit 0f3168a into main Jul 14, 2026
6 checks passed
@frisoft
frisoft deleted the chore/update-edition-to-2024 branch July 14, 2026 19:15
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