Skip to content

Commit

Permalink
Update to criterion 0.5 (#531)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
rillian committed Apr 3, 2024
1 parent 775ee9c commit 030bfeb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion html5ever/Cargo.toml
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion xml5ever/Cargo.toml
Expand Up @@ -19,7 +19,7 @@ mac = "0.1"
markup5ever = { version = "0.12", path = "../markup5ever" }

[dev-dependencies]
criterion = "0.3"
criterion = "0.5"

[[bench]]
name = "xml5ever"
Expand Down

0 comments on commit 030bfeb

Please sign in to comment.