Skip to content

Remove unused common-path dependency + add CI check - #242

Merged
micprog merged 2 commits into
masterfrom
fischeti/machete
Jan 6, 2026
Merged

micprog merged 2 commits into
masterfrom
fischeti/machete

Conversation

@fischeti

@fischeti fischeti commented Jan 6, 2026

Copy link
Copy Markdown
Contributor

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

@micprog micprog left a comment

Copy link
Copy Markdown
Member

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.

2 participants