From 049ab6c87f9b7d5440cc3af3036a04f7ab0476dc Mon Sep 17 00:00:00 2001 From: tison Date: Sat, 25 Jul 2026 19:41:39 +0800 Subject: [PATCH] chore: bump MSRV to 1.91 Signed-off-by: tison --- CHANGELOG.md | 4 ++++ Cargo.toml | 2 +- README.md | 6 +++--- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3cf1c09..596655b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. ## Unreleased +### Breaking changes + +* Bump minimum supported Rust version (MSRV) to 1.91.0. + ## [0.30.1] 2026-06-03 ### Improvements diff --git a/Cargo.toml b/Cargo.toml index b6052f8..f4c7ff7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -33,7 +33,7 @@ homepage = "https://github.com/fast/logforth" license = "Apache-2.0" readme = "README.md" repository = "https://github.com/fast/logforth" -rust-version = "1.89.0" +rust-version = "1.91.0" [workspace.dependencies] # Workspace dependencies diff --git a/README.md b/README.md index adf4dbf..418bc8c 100644 --- a/README.md +++ b/README.md @@ -2,14 +2,14 @@ [![Crates.io][crates-badge]][crates-url] [![Documentation][docs-badge]][docs-url] -[![MSRV 1.89][msrv-badge]](https://www.whatrustisit.com) +[![MSRV 1.91][msrv-badge]](https://www.whatrustisit.com) [![Apache 2.0 licensed][license-badge]][license-url] [![Build Status][actions-badge]][actions-url] [crates-badge]: https://img.shields.io/crates/v/logforth.svg [crates-url]: https://crates.io/crates/logforth [docs-badge]: https://docs.rs/logforth/badge.svg -[msrv-badge]: https://img.shields.io/badge/MSRV-1.89-green?logo=rust +[msrv-badge]: https://img.shields.io/badge/MSRV-1.91-green?logo=rust [docs-url]: https://docs.rs/logforth [license-badge]: https://img.shields.io/crates/l/logforth [license-url]: LICENSE @@ -226,7 +226,7 @@ Components are organized into several crates: ## Minimum Rust version policy -This crate is built against the latest stable release, and its minimum supported rustc version is 1.89.0. +This crate is built against the latest stable release, and its minimum supported rustc version is 1.91.0. The policy is that the minimum Rust version required to use this crate can be increased in minor version updates. For example, if Logforth 1.0 requires Rust 1.60.0, then Logforth 1.0.z for all values of z will also require Rust 1.60.0 or newer. However, Logforth 1.y for y > 0 may require a newer minimum version of Rust.