From 91c8bc3ef5ed5b7650c73e9ca373d119f027f1ae Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 25 Feb 2023 18:23:43 +0100 Subject: [PATCH] Temporarily move to `criterion/master`, which supports nextest --- Cargo.lock | 8 +++----- benches/Cargo.toml | 5 ++++- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 57d468b..d5617cd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -751,8 +751,7 @@ dependencies = [ [[package]] name = "criterion" version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7c76e09c1aae2bc52b3d2f29e13c6572553b30c4aa1b8a49fd70de6412654cb" +source = "git+https://github.com/bheisler/criterion.rs#27642b476837753cbb539f269fbbcbefa815bf00" dependencies = [ "anes", "atty", @@ -761,8 +760,8 @@ dependencies = [ "clap 3.2.23", "criterion-plot", "itertools", - "lazy_static", "num-traits", + "once_cell", "oorandom", "plotters", "rayon", @@ -777,8 +776,7 @@ dependencies = [ [[package]] name = "criterion-plot" version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b50826342786a51a89e2da3a28f1c32b06e387201bc2d19791f622c673706b1" +source = "git+https://github.com/bheisler/criterion.rs#27642b476837753cbb539f269fbbcbefa815bf00" dependencies = [ "cast", "itertools", diff --git a/benches/Cargo.toml b/benches/Cargo.toml index 63d0b72..5a20741 100644 --- a/benches/Cargo.toml +++ b/benches/Cargo.toml @@ -9,7 +9,10 @@ publish = false [dependencies] lychee-lib = { path = "../lychee-lib"} -criterion = "0.4.0" +# TODO: Move back to crates.io version once +# https://github.com/bheisler/criterion.rs/pull/602 +# got released +criterion = { git = "https://github.com/bheisler/criterion.rs"} [[bench]] name = "extract"