From 1aa43f755572c6848fd981eafd11c02a4825dd62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Harabie=C5=84?= Date: Tue, 10 Oct 2023 00:47:47 +0200 Subject: [PATCH] Bump MSRV to 1.65.0 In this version let-else was introduced and library already uses it thanks to Clippy. This version will be one year old soon so it should be okay. Anyway Clippy should avoid MSRV breaking changes in the future because it reads it from Cargo.toml. --- .github/workflows/ci.yml | 2 +- CHANGELOG.md | 2 +- Cargo.toml | 2 +- README.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 86d3f76..766dfe8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ jobs: - rust_version: nightly run_tests: true # Minimal supported rustc version - - rust_version: 1.60.0 + - rust_version: 1.65.0 run_tests: false runs-on: ubuntu-latest continue-on-error: ${{ matrix.rust_version == 'nightly' }} diff --git a/CHANGELOG.md b/CHANGELOG.md index c64372c..7f92370 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -30,7 +30,7 @@ New features: * Fix `format_volume` function panicking in debug build for FAT12 volumes with size below 1 MB * Fix index out of range panic when reading 248+ characters long file names with `alloc` feature disabled * Remove `byteorder` dependency. -* Bump up minimal Rust compiler version to 1.60.0. +* Bump up minimal Rust compiler version to 1.65.0. * Build the crate using the 2021 edition. * Add support for compile-time configuration of logging levels via Cargo features. By default, all logging levels are enabled, including "trace" and up. diff --git a/Cargo.toml b/Cargo.toml index d80f936..238efb5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ name = "fatfs" version = "0.4.0" authors = ["Rafał Harabień "] edition = "2021" -rust-version = "1.56" +rust-version = "1.65" repository = "https://github.com/rafalh/rust-fatfs" readme = "README.md" keywords = ["fat", "filesystem", "no_std"] diff --git a/README.md b/README.md index f64ac81..316b871 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ Rust FAT FS [![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE.txt) [![crates.io](https://img.shields.io/crates/v/fatfs)](https://crates.io/crates/fatfs) [![Documentation](https://docs.rs/fatfs/badge.svg)](https://docs.rs/fatfs) -[![Minimum rustc version](https://img.shields.io/badge/rustc-1.60+-yellow.svg)](https://blog.rust-lang.org/2022/04/07/Rust-1.60.0.html) +[![Minimum rustc version](https://img.shields.io/badge/rustc-1.65+-yellow.svg)](https://blog.rust-lang.org/2022/11/03/Rust-1.65.0.html) A FAT filesystem library implemented in Rust.