Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused deps from workspace Cargo.toml #79

Open
utkarshgupta137 opened this issue Jul 18, 2023 · 2 comments
Open

Remove unused deps from workspace Cargo.toml #79

utkarshgupta137 opened this issue Jul 18, 2023 · 2 comments

Comments

@utkarshgupta137
Copy link

Currently, cargo-machete doesn't check if the workspace Cargo.toml contains any unused deps or not. I think it should be straightforward as you only need to deal with Cargo.toml files, although things never are.

@tisonkun
Copy link

@bnjbvr any idea on this issue?

@bnjbvr
Copy link
Owner

bnjbvr commented Oct 30, 2024

Yep, it's not implemented; one would need to scan the set of dependencies from the workspace, and then figure out the workspace definition to navigate through all the directories it includes. Good luck :-)

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

No branches or pull requests

3 participants