Repository navigation
feat: migrate to Rust Edition 2024 and latest stable toolchain - #7
Merged
Merged
Conversation
- Bump edition to 2024 and MSRV to 1.85.0 in Cargo.toml - Add rustfmt and clippy components in rust-toolchain.toml - Modernize null-terminated string to C-string literal c"/dev/tty" - Apply Style Edition 2024 formatting across modules - Update documentation in README, architecture.md, and review.md - Refresh Cargo.lock dependencies
…rchitecture docs, and spec files
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Migrates
kkfetchto Rust Edition 2024 with updated MSRV (1.85.0+), modern C-string literal syntax, and Style Edition 2024 formatting.Key Changes
edition = "2024"andrust-version = "1.85.0"inCargo.toml.rustfmtandclippycomponents inrust-toolchain.toml.b"/dev/tty\0".as_ptr()toc"/dev/tty".as_ptr()insrc/context.rs, eliminating manual null-terminated byte slice creation under Rust 1.77+.cargo fmtconforming to Rust Style Edition 2024 across all modules.README.md,docs/architecture.md, anddocs/review.mdreferences to Edition 2024.Cargo.lock.Verification
cargo fmt --check: Clean (0 diffs).cargo clippy --all-targets -- -D warnings: Clean (0 warnings).cargo test --all-targets: All 286 tests passed cleanly.cargo build --release --bin kkfetch: Built and verified release binary (kkfetch --version,kkfetch --help).check_no_secrets.py: Clean (0 credentials).