From 44e4be23a6c6390a379264cb35b33801f2d99bbb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 12 Sep 2022 12:03:43 -0400 Subject: [PATCH] Update criterion requirement from 0.3 to 0.4 (#150) * 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] * fix criterion Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Luis Moreno --- Cargo.toml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index e83a0cc..069e223 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.3" +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"]