Skip to content

Use cargo-deny for dependency linting#130

Open
WillowGriffiths wants to merge 3 commits into
mainfrom
add-cargo-deny
Open

Use cargo-deny for dependency linting#130
WillowGriffiths wants to merge 3 commits into
mainfrom
add-cargo-deny

Conversation

@WillowGriffiths

@WillowGriffiths WillowGriffiths commented Apr 14, 2026

Copy link
Copy Markdown
Collaborator

This would prevent issues like #127 from cropping up in the future by using cargo-deny to 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-deny also flags up a few duplicate dependencies. Should this be considered important?

  • Tests pass

  • Appropriate changes to README are included in PR

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
WillowGriffiths marked this pull request as ready for review April 22, 2026 17:53
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.

1 participant