Bump MSRV to 1.60, set edition to 2021

This commit is contained in:
Ivan Smirnov 2022-10-17 00:42:55 +01:00
parent e30c034738
commit 0e799be72d
3 changed files with 4 additions and 5 deletions

View file

@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
rust: [stable, beta, nightly, 1.51.0] # MSRV=1.51
rust: [stable, beta, nightly, 1.61.0] # MSRV=1.61
steps:
- uses: actions/checkout@v2
with: {submodules: true}

View file

@ -3,7 +3,7 @@ name = "qoi"
version = "0.4.0"
description = "VERY fast encoder/decoder for QOI (Quite Okay Image) format"
authors = ["Ivan Smirnov <rust@ivan.smirnov.ie>"]
edition = "2018"
edition = "2021"
readme = "README.md"
license = "MIT/Apache-2.0"
repository = "https://github.com/aldanor/qoi-rust"
@ -14,7 +14,7 @@ keywords = ["qoi", "graphics", "image", "encoding"]
exclude = [
"assets/*",
]
rust-version = "1.51.0"
rust-version = "1.61.0"
[features]
default = ["std"]

View file

@ -51,8 +51,7 @@ this library proved to be the fastest one by a noticeable margin.
### Rust version
The minimum required Rust version is 1.51.0 (any changes to this would be
considered to be a breaking change).
The minimum required Rust version for the latest crate version is 1.61.0.
### `no_std`