From e562ee5bb2d97d212a5740091df5f8ae58d6e3b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Kijewski?= Date: Tue, 2 Aug 2022 14:05:14 +0200 Subject: [PATCH] Increase MSRV to 1.60 --- .github/workflows/ci.yml | 10 ++++++---- CHANGELOG.md | 4 ++++ Cargo.toml | 4 ++-- README.md | 2 +- clippy.toml | 1 + src/lib.rs | 2 +- 6 files changed, 15 insertions(+), 8 deletions(-) create mode 100644 clippy.toml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0b7bd9b..b8d4ec3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,9 +4,11 @@ on: push: branches: - main + - v0.4.x pull_request: branches: - main + - v0.4.x schedule: - cron: "58 7 * * 3" @@ -31,7 +33,7 @@ jobs: fail-fast: false matrix: toolchain: - - "1.55" + - "1.60" - stable - nightly platform: @@ -87,7 +89,7 @@ jobs: fail-fast: false matrix: toolchain: - - "1.55" + - "1.60" - stable - nightly platform: @@ -201,7 +203,7 @@ jobs: fail-fast: false matrix: toolchain: - - "1.55" + - "1.60" - stable - nightly platform: @@ -231,7 +233,7 @@ jobs: fail-fast: false matrix: toolchain: - - "1.55" + - "1.60" - stable - nightly platform: diff --git a/CHANGELOG.md b/CHANGELOG.md index 1e62ee5..add728d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ ## Changes between the versions +### 0.4.0 (????-??-??) + +* Increase msrv to 1.60 + ### 0.3.4 (2022-08-02) * Fix endianess issues for PowerPCs diff --git a/Cargo.toml b/Cargo.toml index 59538d7..eb7207d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "tzdb" version = "0.3.4" -edition = "2018" +edition = "2021" authors = ["René Kijewski "] repository = "https://github.com/Kijewski/tzdb" description = "Static time zone information for tz-rs" @@ -9,7 +9,7 @@ license = "Apache-2.0" keywords = ["date", "time", "timezone", "zone", "calendar"] categories = ["date-and-time"] readme = "README.md" -#rust-version = "1.55" +rust-version = "1.60" [dependencies] # FIXME: using "default-features = false" is a breaking change diff --git a/README.md b/README.md index 8a16c81..70892b2 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![GitHub Workflow Status](https://img.shields.io/github/workflow/status/Kijewski/tzdb/CI?logo=github)](https://github.com/Kijewski/tzdb/actions/workflows/ci.yml) [![Crates.io](https://img.shields.io/crates/v/tzdb?logo=rust)](https://crates.io/crates/tzdb) -![Minimum supported Rust version](https://img.shields.io/badge/rustc-1.55+-important?logo=rust "Minimum Supported Rust Version") +![Minimum supported Rust version](https://img.shields.io/badge/rustc-1.60+-important?logo=rust "Minimum Supported Rust Version") [![License](https://img.shields.io/crates/l/tzdb?color=informational&logo=apache)](/LICENSES) Static time zone information for [tz-rs](https://crates.io/crates/tz-rs). diff --git a/clippy.toml b/clippy.toml new file mode 100644 index 0000000..16caf02 --- /dev/null +++ b/clippy.toml @@ -0,0 +1 @@ +msrv = "1.60.0" diff --git a/src/lib.rs b/src/lib.rs index 62fdc6c..92fbf6c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -37,7 +37,7 @@ //! //! [![GitHub Workflow Status](https://img.shields.io/github/workflow/status/Kijewski/tzdb/CI?logo=github)](https://github.com/Kijewski/tzdb/actions/workflows/ci.yml) //! [![Crates.io](https://img.shields.io/crates/v/tzdb?logo=rust)](https://crates.io/crates/tzdb) -//! ![Minimum supported Rust version](https://img.shields.io/badge/rustc-1.55+-important?logo=rust "Minimum Supported Rust Version") +//! ![Minimum supported Rust version](https://img.shields.io/badge/rustc-1.60+-important?logo=rust "Minimum Supported Rust Version") //! [![License](https://img.shields.io/crates/l/tzdb?color=informational&logo=apache)](/LICENSES) //! //! Static time zone information for [tz-rs](https://crates.io/crates/tz-rs).