Skip to content

feat(engine): migrate to Rust Edition 2024 and latest stable toolchain - #2

Merged
kk376 merged 1 commit into
mainfrom
feat/edition-2024
Nov 13, 2026
Merged

kk376 merged 1 commit into
mainfrom
feat/edition-2024

Conversation

@kk376

@kk376 kk376 commented Nov 13, 2026

Copy link
Copy Markdown
Owner

Summary

Migrates kkpdf-zed to the latest Rust Edition 2024 with full MSRV alignment, idiomatic let-chains, and Style Edition 2024 formatting.

Key Changes

  • Edition & MSRV: Bumped edition = "2024" and rust-version = "1.88.0" in Cargo.toml.
  • Toolchain Pinning: Added rust-toolchain.toml configured for channel = "stable" with rustfmt and clippy.
  • Modernized Idioms: Refactored nested if let blocks into idiomatic 2024 let-chains (if let Some(...) = ... && let Some(...) = ...), resolving -D clippy::collapsible_if.
  • Formatting: Applied cargo fmt under Rust Style Edition 2024 across the repository.
  • Dependencies: Refreshed Cargo.lock patch updates for cc, errno, and libloading.

Verification

  • cargo fmt --check: Clean (0 diffs).
  • cargo clippy --all-targets -- -D warnings: Clean (0 warnings).
  • cargo test --all-targets: All 34 tests (unit and integration) passed cleanly.
  • cargo run --example viewer: Successfully executed standalone benchmark runner and verified sample image outputs.
  • check_no_secrets.py: Clean (0 credentials).

- Bump edition to 2024 and MSRV to 1.88.0 in Cargo.toml
- Add rust-toolchain.toml pinning stable channel with rustfmt and clippy
- Modernize nested if-let expressions to idiomatic 2024 let-chains
- Apply Style Edition 2024 formatting across all modules
- Bump dependencies to latest compatible versions in Cargo.lock
@kk376
kk376 merged commit 49abfbc into main Nov 13, 2026
4 checks passed
@kk376
kk376 deleted the feat/edition-2024 branch November 13, 2026 15:10
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