zkcrypto / bulletproofs

A pure-Rust implementation of Bulletproofs using Ristretto.
MIT License
52 stars 29 forks source link

Update to criterion 0.5 #18

Open rillian opened 9 months ago

rillian commented 9 months ago

Port to the current release of the criterion benchmark harness to address cargo audit warnings about transitive dependencies. The benchmark_function_with_inputs API has been deprecated since 0.3 and is removed in 0.4 and most benchmarks must therefore be ported to the new BenchmarkGroup type.

Resolves

rillian commented 9 months ago

NB submitted this against main, since it looks like that's where current work is happening, although CONTRIBUTING.md specifies develop for new work like the original dalek repo.

Similar to https://github.com/dalek-cryptography/bulletproofs/pull/375 and https://github.com/brave-experiments/bulletproofs/pull/1.