Skip to content

Commit 030bfeb

Browse files
authored
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.
1 parent 775ee9c commit 030bfeb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

html5ever/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ mac = "0.1"
1717
markup5ever = { version = "0.12", path = "../markup5ever" }
1818

1919
[dev-dependencies]
20-
criterion = "0.3"
20+
criterion = "0.5"
2121
typed-arena = "2.0.2"
2222

2323
[build-dependencies]

xml5ever/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ mac = "0.1"
1919
markup5ever = { version = "0.12", path = "../markup5ever" }
2020

2121
[dev-dependencies]
22-
criterion = "0.3"
22+
criterion = "0.5"
2323

2424
[[bench]]
2525
name = "xml5ever"

0 commit comments

Comments
 (0)