cargo-all-features icon indicating copy to clipboard operation
cargo-all-features copied to clipboard

Cargo udeps integration

Open somehowchris opened this issue 3 years ago • 2 comments

Would it be possible to have an integration withcargo udeps? The goal would be to know if you define any dependencies which aren't used and takup time to compile for no reason for possible feature combinations

BTW lovely tool 😄

somehowchris avatar Dec 31 '21 18:12 somehowchris

Hey @frewsxcv

I love this crate put I have come across some things I would love to be integrated.

Just to mention a few:

  • cargo bench doesn't matter if libench or citerion
  • cargo udeps a lovely command to check if and dependencies are just unused but always compiled
  • cross basicall a 1-to-1 "replacement" of cargo to do cross compiling, testing, .... everthing that cargo can do (uses cargo under the hood but allows a almost "zero hustle" cross compile setup)

Would you be in to have PRs for things like that? Or would you rather not as the list of commands would grow from 3 to 5 (if not more) and maybe a flag or something to use cross

Edit: nvm that cross part, gonna leave it in as it were some thoughts, but you can easily do cross build-all-features, because as said, it uses cargo under the hood

somehowchris avatar Apr 14 '22 15:04 somehowchris

Sry, didn‘t see #22 much cleaner

somehowchris avatar Apr 14 '22 19:04 somehowchris