ITADN

Update criterion requirement from 0.5 to 0.6

#426Pull Requestdependabot[bot] 创建于 2025-05-19
dependenciesrust
D
dependabot[bot]commented
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.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> <li><code>rayon</code> and <code>plotters</code> are optional (and default) dependencies.</li> <li>Status messages ('warming up', 'analyzing', etc) are printed to stderr, benchmark results are printed to stdout.</li> <li>Accept subsecond durations for <code>--warm-up-time</code>, <code>--measurement-time</code> and <code>--profile-time</code>.</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/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><a href="https://github.com/bheisler/criterion.rs/commit/7afab6ef7cdaacda31fc857a77a1c4a4570337e0"><code>7afab6e</code></a> Commit Cargo.lock to make CI and local debugging more stable (<a href="https://redirect.github.com/bheisler/criterion.rs/issues/855">#855</a>)</li> <li><a href="https://github.com/bheisler/criterion.rs/commit/260e2f1c788227096cf483c0c2a1933968bbe27b"><code>260e2f1</code></a> Update Cargo features' comments (<a href="https://redirect.github.com/bheisler/criterion.rs/issues/825">#825</a>)</li> <li><a href="https://github.com/bheisler/criterion.rs/commit/58130ff859ea9423564d48f6d1f1fe876e87a074"><code>58130ff</code></a> Update to async-std v1.13 (<a href="https://redirect.github.com/bheisler/criterion.rs/issues/812">#812</a>)</li> <li><a href="https://github.com/bheisler/criterion.rs/commit/d2e705b855e2bdf9d6d26939fb81783f5048fa86"><code>d2e705b</code></a> Add rust-version 1.70 (<a href="https://redirect.github.com/bheisler/criterion.rs/issues/813">#813</a>)</li> <li>Additional commits viewable in <a href="https://github.com/bheisler/criterion.rs/compare/0.5.0...0.6.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-07-28 2 条评论