Update Rust crate criterion to v4.2.1 (#17587)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [criterion](https://codspeed.io)
([source](https://redirect.github.com/CodSpeedHQ/codspeed-rust)) |
dev-dependencies | minor | `4.0.5` → `4.2.1` |

---

### Release Notes

<details>
<summary>CodSpeedHQ/codspeed-rust (criterion)</summary>

###
[`v4.2.1`](https://redirect.github.com/CodSpeedHQ/codspeed-rust/releases/tag/v4.2.1)

[Compare
Source](https://redirect.github.com/CodSpeedHQ/codspeed-rust/compare/v4.2.0...v4.2.1)

#### What's Changed

- fix(core): fix inverted boolean condition in warning message by
[@&#8203;GuillaumeLagrange](https://redirect.github.com/GuillaumeLagrange)
in
[#&#8203;158](https://redirect.github.com/CodSpeedHQ/codspeed-rust/pull/158)

**Full Changelog**:
<https://github.com/CodSpeedHQ/codspeed-rust/compare/v4.2.0...v4.2.1>

###
[`v4.2.0`](https://redirect.github.com/CodSpeedHQ/codspeed-rust/releases/tag/v4.2.0)

[Compare
Source](https://redirect.github.com/CodSpeedHQ/codspeed-rust/compare/v4.1.0...v4.2.0)

#### What's Changed

- feat: rename instrumentation to simulation by
[@&#8203;GuillaumeLagrange](https://redirect.github.com/GuillaumeLagrange)
in
[#&#8203;150](https://redirect.github.com/CodSpeedHQ/codspeed-rust/pull/150)
- feat: add support for analysis mode by
[@&#8203;not-matthias](https://redirect.github.com/not-matthias) in
[#&#8203;152](https://redirect.github.com/CodSpeedHQ/codspeed-rust/pull/152)

**Full Changelog**:
<https://github.com/CodSpeedHQ/codspeed-rust/compare/v4.1.0...v4.2.0>

###
[`v4.1.0`](https://redirect.github.com/CodSpeedHQ/codspeed-rust/releases/tag/v4.1.0)

[Compare
Source](https://redirect.github.com/CodSpeedHQ/codspeed-rust/compare/v4.0.5...v4.1.0)

#### What's Changed

- feat(divan): support `counter` compatibility with a dummy
implementation by [@&#8203;art049](https://redirect.github.com/art049)
in
[#&#8203;115](https://redirect.github.com/CodSpeedHQ/codspeed-rust/pull/115)
- chore: bump cargo metadata to 0.23.0 by
[@&#8203;art049](https://redirect.github.com/art049) in
[#&#8203;141](https://redirect.github.com/CodSpeedHQ/codspeed-rust/pull/141)
- ci: fix check dependency job name by
[@&#8203;GuillaumeLagrange](https://redirect.github.com/GuillaumeLagrange)
in
[#&#8203;145](https://redirect.github.com/CodSpeedHQ/codspeed-rust/pull/145)
- feat(cargo-codspeed): throw an error when building a bench target with
the default harness by
[@&#8203;GuillaumeLagrange](https://redirect.github.com/GuillaumeLagrange)
in
[#&#8203;144](https://redirect.github.com/CodSpeedHQ/codspeed-rust/pull/144)
- Remove `uuid` dependency by
[@&#8203;larseggert](https://redirect.github.com/larseggert) in
[#&#8203;148](https://redirect.github.com/CodSpeedHQ/codspeed-rust/pull/148)
- fix(divan): use busy sleep in time scale examples by
[@&#8203;GuillaumeLagrange](https://redirect.github.com/GuillaumeLagrange)
in
[#&#8203;149](https://redirect.github.com/CodSpeedHQ/codspeed-rust/pull/149)

#### New Contributors

- [@&#8203;larseggert](https://redirect.github.com/larseggert) made
their first contribution in
[#&#8203;148](https://redirect.github.com/CodSpeedHQ/codspeed-rust/pull/148)

**Full Changelog**:
<https://github.com/CodSpeedHQ/codspeed-rust/compare/v4.0.5...v4.1.0>

</details>

---

### Configuration

📅 **Schedule**: Branch creation - Between 12:00 AM and 03:59 AM, only on
Monday ( * 0-3 * * 1 ) (UTC), Automerge - At any time (no schedule
defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/astral-sh/uv).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi43NC41IiwidXBkYXRlZEluVmVyIjoiNDIuODUuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiYnVpbGQ6c2tpcC1yZWxlYXNlIiwiaW50ZXJuYWwiXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
renovate[bot]
2026-01-19 17:14:34 -06:00
committed by GitHub
parent 4ca6fdc07b
commit cb8ef1a007
Generated
+7 -7
View File
@@ -843,27 +843,27 @@ checksum = "b94f61472cee1439c0b966b47e3aca9ae07e45d070759512cd390ea2bebc6675"
[[package]]
name = "codspeed"
version = "4.0.5"
version = "4.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fe68fdd3fe25bc26de0230718d74eb150f09f70be3141c61ea7f9b00812054aa"
checksum = "5f0d98d97fd75ca4489a1a0997820a6521531085e7c8a98941bd0e1264d567dd"
dependencies = [
"anyhow",
"cc",
"colored",
"getrandom 0.2.16",
"glob",
"libc",
"nix",
"serde",
"serde_json",
"statrs",
"uuid",
]
[[package]]
name = "codspeed-criterion-compat"
version = "4.0.5"
version = "4.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4a06533c3c2c7b43b2efcca2dc0f228097b4c582c95f59cc187bbeb926b42cfb"
checksum = "d16fe2db207123f7b3a3b5cfff0c22f99469f7534145f3573f57f4c8a5653c2c"
dependencies = [
"clap",
"codspeed",
@@ -876,9 +876,9 @@ dependencies = [
[[package]]
name = "codspeed-criterion-compat-walltime"
version = "4.0.5"
version = "4.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4102bd4dcfb09fae5cf5ca86c6c5ad0bd0cabe834cd84b5e7b7dd969fb9093e8"
checksum = "b035c7f9846b143aeabb3833f5b584023eb97b43ecbff3d997db74c4372df2bd"
dependencies = [
"anes",
"cast",