pixels/MSRV.md
Jay Oster 4ee5006481
Add rust-version (#295)
- This version is different from the MSRV. It specifies the minimum
  version required to build the crate and its direct dependencies.
- Add a CI step for building the crate alone with the oldest version
  possible.
- See MSRV.md for the policy and minimal version supported by CI,
  including all example code.
- Update all actions to checkout/v3
2022-08-01 14:59:46 -07:00

25 lines
1.3 KiB
Markdown

# Minimum Supported Rust Version
| `pixels` version | `rustc` version |
|------------------|-----------------|
| `0.10.0` | `1.60.0` |
| `0.9.0` | `1.57.0` |
| `0.8.0` | `1.52.0` |
| `0.7.0` | `1.52.0` |
| `0.6.0` | `1.52.0` |
| `0.5.0` | `1.52.0` |
| `0.4.0` | `1.52.0` |
| `0.3.0` | `1.51.0` |
| `0.2.0` | `1.41.0` |
| `0.1.0` | `1.41.0` |
| `0.0.4` | `1.40.0` |
| `0.0.3` | `1.40.0` |
| `0.0.2` | `1.36.0` |
| `0.0.1` | `1.36.0` |
## Policy
The table above will be kept up-to-date in lock-step with CI on the main branch in GitHub. It may contain information about unreleased and yanked versions. It is the user's responsibility to consult with the [`pixels` versions page](https://crates.io/crates/pixels/versions) on `crates.io` to verify version status.
The MSRV will be chosen as the minimum version of `rustc` that can successfully pass CI, including documentation, lints, and all examples. For this reason, the minimum version _supported_ may be higher than the minimum version _required_ to compile the `pixels` crate itself. See `Cargo.toml` for the minimal Rust version required to build the crate alone.