est31 / cargo-udeps

Find unused dependencies in Cargo.toml
Other
1.75k stars 46 forks source link

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

Closed cmtm closed 1 year ago

cmtm commented 1 year 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 1 year ago

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

est31 commented 1 year ago

The PR is merged now, thanks!

cmtm commented 11 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 11 months ago

@cmtm 0.1.45 is released now, including your PR.