From a7d01dc00922294dea1f9eacdfe0686c424a3aba Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 12 Sep 2022 15:15:53 +0000 Subject: [PATCH 1/2] Update criterion requirement from 0.3 to 0.4 Updates the requirements on [criterion](https://github.com/bheisler/criterion.rs) to permit the latest version. - [Release notes](https://github.com/bheisler/criterion.rs/releases) - [Changelog](https://github.com/bheisler/criterion.rs/blob/master/CHANGELOG.md) - [Commits](https://github.com/bheisler/criterion.rs/compare/0.3.0...0.4.0) --- updated-dependencies: - dependency-name: criterion dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index e83a0cca..312d5560 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -33,7 +33,7 @@ itertools = "0.10.3" getrandom = { version = "0.2", features = ["js"] } [dev-dependencies] -criterion = "0.3" +criterion = "0.4" serde_json = "1.0" bincode = "1.3.1" From 265e246ddd5919a5e6752dc5068558aa65ef8a25 Mon Sep 17 00:00:00 2001 From: Luis Moreno Date: Mon, 12 Sep 2022 11:39:04 -0400 Subject: [PATCH 2/2] fix criterion --- Cargo.toml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 312d5560..069e2230 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -33,7 +33,8 @@ itertools = "0.10.3" getrandom = { version = "0.2", features = ["js"] } [dev-dependencies] -criterion = "0.4" +smartcore = { path = ".", features = ["fp_bench"] } +criterion = { version = "0.4", default-features = false } serde_json = "1.0" bincode = "1.3.1" @@ -52,4 +53,4 @@ required-features = ["ndarray-bindings", "nalgebra-bindings"] [[bench]] name = "fastpair" harness = false -required-features = ["fp_bench"] \ No newline at end of file +required-features = ["fp_bench"]