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.
This pull request introduces a continuous integration (CI) workflow for the project, enforces stricter linting rules, and standardizes the Rust toolchain configuration. The main goals are to automate code quality checks, improve code safety, and ensure consistent development environments.
CI Workflow Automation:
.github/workflows/ci.yml) that runs on pull requests and manual triggers. The workflow checks code formatting, runs linting with Clippy, and executes tests to ensure code quality and correctness.Rust Toolchain and Linting Configuration:
rust-toolchain.tomlfile to pin the Rust toolchain to the stable channel and specify required components and targets, ensuring consistent development and CI environments.Cargo.tomlto enforce stricter linting rules: forbids unsafe code, warns on missing debug implementations, enables Clippy's pedantic and nursery lints, warns on.unwrap()usage and problematic float comparisons, and documents rationale for allowing many function arguments in GUI code.