From 030bfeb26d4ab8f09082bb6cc33a6cb283afaf56 Mon Sep 17 00:00:00 2001 From: Ralph Giles Date: Wed, 3 Apr 2024 10:18:06 -0700 Subject: [PATCH] Update to criterion 0.5 (#531) Specify the current version of the benchmarking framework to address cargo audit warnings about the dependencies of earlier releases. Note that this requires rust 1.74.1 or later to run `cargo bench` but MSRV (1.60.0) is only gated against the library target itself and not dev-dependencies, so this is no change in the requirements on downstream users. --- html5ever/Cargo.toml | 2 +- xml5ever/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/html5ever/Cargo.toml b/html5ever/Cargo.toml index 0a1c6077..5a8e257e 100644 --- a/html5ever/Cargo.toml +++ b/html5ever/Cargo.toml @@ -17,7 +17,7 @@ mac = "0.1" markup5ever = { version = "0.12", path = "../markup5ever" } [dev-dependencies] -criterion = "0.3" +criterion = "0.5" typed-arena = "2.0.2" [build-dependencies] diff --git a/xml5ever/Cargo.toml b/xml5ever/Cargo.toml index 90f9a305..e0309654 100644 --- a/xml5ever/Cargo.toml +++ b/xml5ever/Cargo.toml @@ -19,7 +19,7 @@ mac = "0.1" markup5ever = { version = "0.12", path = "../markup5ever" } [dev-dependencies] -criterion = "0.3" +criterion = "0.5" [[bench]] name = "xml5ever"