Make binary deps optional
Closed this issue · 3 comments
killercup commented
I think cargo allows us to
[[bin]]
name = "rustfix"
features = ["cli"]
oli-obk commented
If you depend on a crate, won't the binaries get ignored anyway?
killercup commented
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.
killercup commented
solved by splitting into two crates