Update criterion requirement from 0.5 to 0.7
dependenciesrust
Updates the requirements on [criterion](https://github.com/bheisler/criterion.rs) to permit the latest version.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/bheisler/criterion.rs/blob/master/CHANGELOG.md">criterion's changelog</a>.</em></p>
<blockquote>
<h2>[0.7.0] - 2025-07-25</h2>
<ul>
<li>Bump version of criterion-plot to align dependencies.</li>
</ul>
<h2>[0.6.0] - 2025-05-17</h2>
<h3>Changed</h3>
<ul>
<li>MSRV bumped to 1.80</li>
<li>The <code>real_blackbox</code> feature no longer has any impact. Criterion always uses <code>std::hint::black_box()</code> now.
Users of <code>criterion::black_box()</code> should switch to <code>std::hint::black_box()</code>.</li>
<li><code>clap</code> dependency unpinned.</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>gnuplot version is now correctly detected when using certain Windows binaries/configurations that used to fail</li>
</ul>
<h3>Added</h3>
<ul>
<li>Async benchmarking with Tokio may be done via a <code>tokio::runtime::Handle</code>, not only a <code>tokio::runtime::Runtime</code></li>
</ul>
<h2>[0.5.1] - 2023-05-26</h2>
<h3>Fixed</h3>
<ul>
<li>Quick mode (--quick) no longer crashes with measured times over 5 seconds when --noplot is not active</li>
</ul>
<h2>[0.5.0] - 2023-05-23</h2>
<h3>Changed</h3>
<ul>
<li>Replaced lazy_static dependency with once_cell</li>
<li>Improved documentation of the <code>html_reports</code> feature</li>
<li>Replaced atty dependency with is-terminal</li>
<li>MSRV bumped to 1.64</li>
<li>Upgraded clap dependency to v4</li>
<li>Upgraded tempfile dependency to v3.5.0</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Quick mode (<code>--quick</code>) no longer outputs 1ms for measured times over 5 seconds</li>
<li>Documentation updates</li>
</ul>
<h2>[0.4.0] - 2022-09-10</h2>
<h3>Removed</h3>
<ul>
<li>The <code>Criterion::can_plot</code> function has been removed.</li>
<li>The <code>Criterion::bench_function_over_inputs</code> function has been removed.</li>
<li>The <code>Criterion::bench_functions</code> function has been removed.</li>
<li>The <code>Criterion::bench</code> function has been removed.</li>
</ul>
<h3>Changed</h3>
<ul>
<li>HTML report hidden behind non-default feature flag: 'html_reports'</li>
<li>Standalone support (ie without cargo-criterion) feature flag: 'cargo_bench_support'</li>
<li>MSRV bumped to 1.57</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/bheisler/criterion.rs/commit/567405d25363804dd1e6d440a0c9d6612c4cecd8"><code>567405d</code></a> release: bump criterion and criterion-plot versions (<a href="https://redirect.github.com/bheisler/criterion.rs/issues/878">#878</a>)</li>
<li><a href="https://github.com/bheisler/criterion.rs/commit/ccccbcc15237233af22af4c76751a7aa184609b3"><code>ccccbcc</code></a> fix: deal with throughput in bits (<a href="https://redirect.github.com/bheisler/criterion.rs/issues/861">#861</a>)</li>
<li><a href="https://github.com/bheisler/criterion.rs/commit/deb0eb021dbaa58678222725a455662f780751d0"><code>deb0eb0</code></a> feat: support throughput reports in bits (<a href="https://redirect.github.com/bheisler/criterion.rs/issues/833">#833</a>)</li>
<li><a href="https://github.com/bheisler/criterion.rs/commit/d4fd7cc478dfb15e82ea9726c8e4c5a3afc4bc49"><code>d4fd7cc</code></a> Add CI job checking library builds with oldest allowed dependencies (<a href="https://redirect.github.com/bheisler/criterion.rs/issues/854">#854</a>)</li>
<li><a href="https://github.com/bheisler/criterion.rs/commit/43bf90a64b1b2ac8d7f448e1f79e0eff8f9c45ec"><code>43bf90a</code></a> release version 0.6.0 (<a href="https://redirect.github.com/bheisler/criterion.rs/issues/860">#860</a>)</li>
<li><a href="https://github.com/bheisler/criterion.rs/commit/92696e45c5750c3d946fd5bef28c141e2f6c80f9"><code>92696e4</code></a> deps: unpin clap (<a href="https://redirect.github.com/bheisler/criterion.rs/issues/858">#858</a>)</li>
<li><a href="https://github.com/bheisler/criterion.rs/commit/5756a5d5268f2186cedac87b823d0f1c6aad04b8"><code>5756a5d</code></a> chore: bump MSRV to 1.80 (<a href="https://redirect.github.com/bheisler/criterion.rs/issues/859">#859</a>)</li>
<li><a href="https://github.com/bheisler/criterion.rs/commit/9d887c0145f86442cd7211fd50681d8a1402e84a"><code>9d887c0</code></a> Fixed typo in faq.md (<a href="https://redirect.github.com/bheisler/criterion.rs/issues/852">#852</a>)</li>
<li><a href="https://github.com/bheisler/criterion.rs/commit/59b791a5876f001be504203752df0a4502de0967"><code>59b791a</code></a> ci: test against MSRV and 1.87 (<a href="https://redirect.github.com/bheisler/criterion.rs/issues/857">#857</a>)</li>
<li><a href="https://github.com/bheisler/criterion.rs/commit/ace1cc93ef06c6d67f42ee5a57485a800fc5fe26"><code>ace1cc9</code></a> Fix warnings from clippy (rust 1.87.0) (<a href="https://redirect.github.com/bheisler/criterion.rs/issues/856">#856</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/bheisler/criterion.rs/compare/0.5.0...0.7.0">compare view</a></li>
</ul>
</details>
<br />
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
</details>
合并状态:已合并 合并于 2025-08-01 关闭于 2025-08-01 2 条评论