bheisler / criterion.rs

Statistics-driven benchmarking library for Rust
Apache License 2.0
4.28k stars 290 forks source link

Can clap be made optional? #781

Open faern opened 2 months ago

faern commented 2 months ago

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.

stefnotch commented 1 month ago

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.