est31 / cargo-udeps

Find unused dependencies in Cargo.toml
Other
1.73k stars 47 forks source link

Support `workspace.metadata.cargo-udeps.ignore` to ignore dependencies in whole workspace #231

Closed cmtm closed 11 months ago

cmtm commented 11 months ago

I'd like to add support for ignoring packages in a workspace Cargo.toml. As of now, the ignored dependencies can only be specified in a package's Cargo.toml. The main use-case for this would be to support using something like cargo hakari alongside udeps. I can come up with PR if you're open to this funtionality.

cmtm commented 11 months ago

PR with feature: https://github.com/est31/cargo-udeps/pull/232

est31 commented 11 months ago

The PR is merged now, thanks!

cmtm commented 10 months ago

@est31 , any idea when we'll get a release? I'd like to use the released udeps in our workflow, but we can't until the commit in #232 gets released.

est31 commented 10 months ago

@cmtm 0.1.45 is released now, including your PR.