From dd3f2f81c4cf6f4d85723f122d7e637bd4bd674d Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Mon, 30 Oct 2023 09:30:11 +0100 Subject: [PATCH] Bump MSRV to 1.61 --- .github/workflows/test.yml | 4 ++-- Cargo.toml | 2 +- README.md | 2 +- src/lib.rs | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c6c3ec1261..67e6e8c696 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -19,7 +19,7 @@ jobs: - run: cargo test --all-features --color=always -- --color=always # later this may be able to be included with the below - # kept separate for now as the following don't compile on 1.57 + # kept separate for now as the following don't compile on 1.60 # * arbitrary (requires 1.63 as of v1.3.0) rust_msrv: strategy: @@ -30,7 +30,7 @@ jobs: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@master with: - toolchain: 1.57 + toolchain: "1.61.0" - uses: Swatinem/rust-cache@v2 # run --lib and --doc to avoid the long running integration tests # which are run elsewhere diff --git a/Cargo.toml b/Cargo.toml index c6edb2a311..d960da1f4e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,7 +11,7 @@ readme = "README.md" license = "MIT OR Apache-2.0" exclude = ["/ci/*"] edition = "2021" -rust-version = "1.57.0" +rust-version = "1.61.0" [lib] name = "chrono" diff --git a/README.md b/README.md index c3222ddaa3..f605b11f22 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,7 @@ Optional features: ## Rust version requirements -The Minimum Supported Rust Version (MSRV) is currently **Rust 1.57.0**. +The Minimum Supported Rust Version (MSRV) is currently **Rust 1.61.0**. The MSRV is explicitly tested in CI. It may be bumped in minor releases, but this is not done lightly. diff --git a/src/lib.rs b/src/lib.rs index da8e00d17a..64d2135e6c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -359,7 +359,7 @@ //! //! ## Rust version requirements //! -//! The Minimum Supported Rust Version (MSRV) is currently **Rust 1.57.0**. +//! The Minimum Supported Rust Version (MSRV) is currently **Rust 1.61.0**. //! //! The MSRV is explicitly tested in CI. It may be bumped in minor releases, but this is not done //! lightly.