From 0e799be72d4eb5957edf72a4b6deacdfb4ec2e5f Mon Sep 17 00:00:00 2001 From: Ivan Smirnov Date: Mon, 17 Oct 2022 00:42:55 +0100 Subject: [PATCH] Bump MSRV to 1.60, set edition to 2021 --- .github/workflows/ci.yml | 2 +- Cargo.toml | 4 ++-- README.md | 3 +-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1839202..8f9f42a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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} diff --git a/Cargo.toml b/Cargo.toml index 327a4d1..4300672 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ name = "qoi" version = "0.4.0" description = "VERY fast encoder/decoder for QOI (Quite Okay Image) format" authors = ["Ivan Smirnov "] -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"] diff --git a/README.md b/README.md index a7de677..315d006 100644 --- a/README.md +++ b/README.md @@ -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`