Use cargo-deny for dependency linting#130
Open
WillowGriffiths wants to merge 3 commits into
Open
Conversation
WillowGriffiths
force-pushed
the
add-cargo-deny
branch
from
April 14, 2026 19:43
c67c4a6 to
9a4f7a0
Compare
The project currently fails due to the ranges crate's LGPL license (see #127). In addition, some unmaintained dependencies were added to the advisories ignore list. Perhaps this should be investigated.
WillowGriffiths
force-pushed
the
add-cargo-deny
branch
from
April 15, 2026 10:38
9a4f7a0 to
8722ee1
Compare
WillowGriffiths
marked this pull request as ready for review
April 22, 2026 17:53
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.
This would prevent issues like #127 from cropping up in the future by using
cargo-denyto lint dependencies for license conflicts and security advisories.Considerations before merging:
Currently a number of unmaintained packages down the dependency graph are added to
cargo-deny's 'ignore' list as they would otherwise be counted as blocking security advisories.Gating the CI pipeline on security advisories may be problematic; it could begin to fail suddenly if a new security advisory is added to the registry.
cargo-denyalso flags up a few duplicate dependencies. Should this be considered important?Tests pass
Appropriate changes to README are included in PR