Update criterion requirement from 0.6.0 to 0.7.0 (#21726)
Updates the requirements on criterion to permit the latest version.
Changelog
Sourced from criterion's changelog.
[0.7.0] - 2025-07-25
- Bump version of criterion-plot to align dependencies.
[0.6.0] - 2025-05-17
Changed
- MSRV bumped to 1.80
- The
real_blackboxfeature no longer has any impact. Criterion always usesstd::hint::black_box()now. Users ofcriterion::black_box()should switch tostd::hint::black_box().clapdependency unpinned.Fixed
- gnuplot version is now correctly detected when using certain Windows binaries/configurations that used to fail
Added
- Async benchmarking with Tokio may be done via a
tokio::runtime::Handle, not only atokio::runtime::Runtime[0.5.1] - 2023-05-26
Fixed
- Quick mode (--quick) no longer crashes with measured times over 5 seconds when --noplot is not active
[0.5.0] - 2023-05-23
Changed
- Replaced lazy_static dependency with once_cell
- Improved documentation of the
html_reportsfeature- Replaced atty dependency with is-terminal
- MSRV bumped to 1.64
- Upgraded clap dependency to v4
- Upgraded tempfile dependency to v3.5.0
Fixed
- Quick mode (
--quick) no longer outputs 1ms for measured times over 5 seconds- Documentation updates
[0.4.0] - 2022-09-10
Removed
- The
Criterion::can_plotfunction has been removed.- The
Criterion::bench_function_over_inputsfunction has been removed.- The
Criterion::bench_functionsfunction has been removed.- The
Criterion::benchfunction has been removed.Changed
- HTML report hidden behind non-default feature flag: 'html_reports'
- Standalone support (ie without cargo-criterion) feature flag: 'cargo_bench_support'
- MSRV bumped to 1.57
... (truncated)
Commits
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 commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)Signed-off-by: dependabot[bot] support@github.com Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
What is Bevy?
Bevy is a refreshingly simple data-driven game engine built in Rust. It is free and open-source forever!
WARNING
Bevy is still in the early stages of development. Important features are missing. Documentation is sparse. A new version of Bevy containing breaking changes to the API is released approximately once every 3 months. We provide migration guides, but we can’t guarantee migrations will always be easy. Use only if you are willing to work in this environment.
MSRV: Bevy relies heavily on improvements in the Rust language and compiler. As a result, the Minimum Supported Rust Version (MSRV) is generally close to “the latest stable release” of Rust.
Design Goals
About
Docs
Community
Before contributing or participating in discussions with the community, you should familiarize yourself with our Code of Conduct.
Contributing
If you’d like to help build Bevy, check out the Contributor’s Guide. For simple problems, feel free to open an issue or PR and tackle it yourself!
For more complex architecture decisions and experimental mad science, please open an RFC (Request For Comments) so we can brainstorm together effectively!
Getting Started
We recommend checking out the Quick Start Guide for a brief introduction.
Follow the Setup guide to ensure your development environment is set up correctly. Once set up, you can quickly try out the examples by cloning this repo and running the following commands:
To draw a window with standard functionality enabled, use:
Fast Compiles
Bevy can be built just fine using default configuration on stable Rust. However for really fast iterative compiles, you should enable the “fast compiles” setup by following the instructions here.
Bevy Cargo Features
This list outlines the different cargo features supported by Bevy. These allow you to customize the Bevy feature set for your use-case.
Thanks
Bevy is the result of the hard work of many people. A huge thanks to all Bevy contributors, the many open source projects that have come before us, the Rust gamedev ecosystem, and the many libraries we build on.
A huge thanks to Bevy’s generous sponsors. Bevy will always be free and open source, but it isn’t free to make. Please consider sponsoring our work if you like what we’re building.
This project is tested with BrowserStack.
License
Bevy is free, open source and permissively licensed! Except where noted (below and/or in individual files), all code in this repository is dual-licensed under either:
at your option. This means you can select the license you prefer! This dual-licensing approach is the de-facto standard in the Rust ecosystem and there are very good reasons to include both.
Some of the engine’s code carries additional copyright notices and license terms due to their external origins. These are generally BSD-like, but exact details vary by crate: If the README of a crate contains a ‘License’ header (or similar), the additional copyright notices and license terms applicable to that crate will be listed. The above licensing requirement still applies to contributions to those crates, and sections of those crates will carry those license terms. The license field of each crate will also reflect this.
The assets included in this repository (for our examples) typically fall under different open licenses. These will not be included in your game (unless copied in by you), and they are not distributed in the published bevy crates. See CREDITS.md for the details of the licenses of those files.
Your contributions
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.