Skip to content

Conversation

@wlawt
Copy link
Contributor

@wlawt wlawt commented Nov 4, 2025

Removes unused dependencies using cargo machete

Also added machete as a github CI check. See here on how to address false positives: https://github.com/bnjbvr/cargo-machete?tab=readme-ov-file#false-positives

@cb-heimdall
Copy link
Collaborator

cb-heimdall commented Nov 4, 2025

🟡 Heimdall Review Status

Requirement Status More Info
Reviews 🟡 0/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1

- name: Checkout
uses: actions/checkout@v4
- name: Machete
uses: bnjbvr/cargo-machete@main
Copy link
Contributor

Choose a reason for hiding this comment

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

we could try using udeps which uses a more in-depth check. This is what upstream reth uses: https://github.com/paradigmxyz/reth/blob/main/.github/workflows/lint.yml#L159-L171

This should have fewer false positives.

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.

4 participants