Skip to content

chore(cargo): add crate metadata and strict rust/clippy lint baseline#2

Merged
mgerhold merged 54 commits into
ninjaneers-team:mainfrom
grouvie:user/grouvie/chore-cargo-lint-baseline
Apr 28, 2026
Merged

chore(cargo): add crate metadata and strict rust/clippy lint baseline#2
mgerhold merged 54 commits into
ninjaneers-team:mainfrom
grouvie:user/grouvie/chore-cargo-lint-baseline

Conversation

@grouvie
Copy link
Copy Markdown
Contributor

@grouvie grouvie commented Apr 24, 2026

  • Add comprehensive [lints.rust] and [lints.clippy] configuration to standardize linting across the project.

  • Add crate metadata in Cargo.toml (repository, readme, and commented placeholders for description, keywords, categories).

Copy link
Copy Markdown

@MarioMottl MarioMottl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@mgerhold
Copy link
Copy Markdown
Collaborator

Gonna look into this next week. Thanks a lot in advance! 🙏

mgerhold and others added 27 commits April 27, 2026 13:39
Replace let _ = ... patterns with drop(...) for Result return values
in spawned thread closures. This makes the intent explicit and addresses
all let-underscore-drop warnings.
Make child, control, output, and servers modules private since they
are only used internally by the app module. Suppress the unused-crate
warning in main.rs with a reason attribute explaining the transitive
dependency through the stdioxide library.
Co-authored-by: Copilot <copilot@github.com>
Add explicit 'use crate_name as _;' imports in each test file to
acknowledge dev-dependencies that are available but not used by that
specific test target. This resolves unused-crate-dependencies warnings.
Co-authored-by: Copilot <copilot@github.com>
Change pub(crate) to pub for items in private modules (child, control,
output, servers). Since the modules themselves are private, pub(crate)
is redundant - items are already scoped to the crate.
Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot <copilot@github.com>
…ippy

Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot <copilot@github.com>
mgerhold and others added 22 commits April 28, 2026 07:33
Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot <copilot@github.com>
Comment thread tests/integration_test.rs Outdated
Co-authored-by: Copilot <copilot@github.com>
@mgerhold mgerhold requested a review from MarioMottl April 28, 2026 07:34
Co-authored-by: Copilot <copilot@github.com>
@mgerhold mgerhold enabled auto-merge April 28, 2026 07:57
@mgerhold mgerhold merged commit 9b37ad4 into ninjaneers-team:main Apr 28, 2026
7 checks passed
@mgerhold
Copy link
Copy Markdown
Collaborator

@grouvie @MarioMottl Thanks again 🙏

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.

4 participants