Add MSRV policy (#147)

Also updates the README to remove the "WIP" label from the custom shader feature.
This commit is contained in:
Jay Oster 2021-03-09 02:06:08 -08:00 committed by GitHub
parent 161b448a18
commit f1c286f62e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 22 additions and 1 deletions

17
MSRV.md Normal file
View file

@ -0,0 +1,17 @@
# Minimum Supported Rust Version
| `pixels` version | `rustc` version |
|------------------|-----------------|
| `0.3.0` | `1.50.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 to 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.

View file

@ -13,10 +13,14 @@ Rapidly prototype a simple 2D game, pixel-based animations, software renderers,
`pixels` is more than just a library to push pixels to a screen, but less than a full framework. You're in charge of managing a window environment, event loop, and input handling.
## MSRV Policy
The Minimum Supported Rust Version for `pixels` will always be made available in the [MSRV.md](./MSRV.md) file on GitHub.
## Features
- Built on modern graphics APIs powered by [`wgpu`](https://crates.io/crates/wgpu): DirectX 12, Vulkan, Metal. OpenGL support is a work in progress.
- Use your own custom shaders for special effects. (WIP)
- Use your own custom shaders for special effects.
- Hardware accelerated scaling on perfect pixel boundaries.
- Supports non-square pixel aspect ratios. (WIP)