bnjbvr/cargo-machete

dev-dependencies

jayvdb opened this issue · 3 comments

This tool doesnt appear to remove unneeded dev-dependencies.
Is that feasible to perform, perhaps opt-in?

Hi! Thanks for opening an issue, yeah it's likely possible to do. It would require a bit of fine-tuning the directories that are being searched: dev-dependencies may be used in tests/, benches/, and maybe a few others, while non dev-dependencies would not, as far as I know.
Do you want to try to take a stab at it?

Sure.

Actually, with OpenAPITools/openapi-generator#13835 merged, I don't have a reason to be trimming dev-dependencies, so I wont be working on this.