rust-lang/rustfix

Make binary deps optional

Closed this issue · 3 comments

I think cargo allows us to

[[bin]]
name = "rustfix"
features = ["cli"]

If you depend on a crate, won't the binaries get ignored anyway?

Sure, but if someone depends on rustfix right now, they'll have to compile clap, which is only used in the binary. That's what I aim to avoid with this.

solved by splitting into two crates