Repository navigation
Clean up workspace manifest lints - #972
Merged
Merged
Conversation
Problem - Manifest lints: - nightly cargo warns on unused `[workspace.dependencies]` entries - nightly cargo warns on member crates without `[lints]` - CI: - setup-rust-toolchain v2 denies warnings through `CARGO_BUILD_WARNINGS` - docs.rs publish job fails on manifest warnings Summary of Changes - Workspace dependencies: - drop 34 unused entries - 30 dropped entries name member crates without any dependents in the workspace - cargo ignores entries without a `workspace = true` reference, so resolution and `Cargo.lock` stay unchanged - re-add an entry once a member starts depending on that crate - Lints: - inherit `[workspace.lints]` in 42 member crates
kskalski
force-pushed
the
ks/cargo_manifest_lints
branch
from
September 30, 2026 08:18
b0d2a48 to
9ad63d0
Compare
kskalski
marked this pull request as ready for review
September 30, 2026 09:01
joncinque
approved these changes
Sep 30, 2026
joncinque
left a comment
Collaborator
There was a problem hiding this comment.
Looks great, thanks for fixing this up! Sorry about the breaking change
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.
Problem
[workspace.dependencies]entries[lints]CARGO_BUILD_WARNINGSSummary of Changes
[workspace.lints]in 42 member cratesTesting
CI