criterion.rs icon indicating copy to clipboard operation
criterion.rs copied to clipboard

Can clap be made optional?

Open faern opened this issue 1 year ago • 1 comments

Is clap really a hard dependency for criterion? I personally only use it as a library and don't specify my benchmarks over the CLI at all. clap pulls in a decent amount of dependencies that I don't think I'm using at all.

faern avatar May 08 '24 20:05 faern

I think this would nicely tie into https://github.com/bheisler/criterion.rs/issues/426 as well. Currently criterion ships with more dependencies than necessary.

stefnotch avatar May 18 '24 19:05 stefnotch