Skip to content

Conversation

@fischeti
Copy link
Contributor

@fischeti fischeti commented Jan 6, 2026

Adds a workflow to the CI to check for unused dependency based on the cargo-machete plugin. It is said to be fast but not super precise since it is based on regex and does not actually build the project. Nevertheless, it already caught the unused common-path dependency.

The alternative would be cargo-udeps which should be more precise since it actually builds the project, but when trying it out, it did not compile and I didn't proceed it further.

@fischeti fischeti requested a review from micprog January 6, 2026 09:47
Copy link
Member

@micprog micprog left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@micprog micprog merged commit cfdbf8b into master Jan 6, 2026
14 checks passed
@fischeti fischeti deleted the fischeti/machete branch January 6, 2026 13:46
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.

3 participants