From 24a0c8fafd58e295f1acbb5e74cc8973b9ecee8d Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Thu, 16 Jun 2022 23:11:27 -0700 Subject: [PATCH 1/3] Revert "Bump MSRV to 1.56.1, matching hashbrown as of 0.12.1" This reverts commit 8a571c6d68cb38c283d563ff6972613e0eea4111. (cherry picked from commit f6487e7e042b39472f4f5075e7045aa2dbabb5b5) --- .github/workflows/ci.yml | 4 ++-- Cargo.toml | 2 +- README.md | 2 +- src/lib.rs | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4cc1a76a..8c6c10cb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,7 @@ jobs: strategy: matrix: include: - - rust: 1.56.1 # MSRV + - rust: 1.56.0 # MSRV features: - rust: stable features: serde @@ -59,7 +59,7 @@ jobs: strategy: matrix: include: - - rust: 1.56.1 + - rust: 1.56.0 target: thumbv6m-none-eabi - rust: stable target: thumbv6m-none-eabi diff --git a/Cargo.toml b/Cargo.toml index 2b01f9d8..b75c9a5d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,7 @@ license = "Apache-2.0 OR MIT" description = "A hash table with consistent order and fast iteration." keywords = ["hashmap", "no_std"] categories = ["data-structures", "no-std"] -rust-version = "1.56.1" +rust-version = "1.56" [lib] bench = false diff --git a/README.md b/README.md index a1167985..d80b7099 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![build status](https://github.com/bluss/indexmap/workflows/Continuous%20integration/badge.svg?branch=master)](https://github.com/bluss/indexmap/actions) [![crates.io](https://img.shields.io/crates/v/indexmap.svg)](https://crates.io/crates/indexmap) [![docs](https://docs.rs/indexmap/badge.svg)](https://docs.rs/indexmap) -[![rustc](https://img.shields.io/badge/rust-1.56.1%2B-orange.svg)](https://img.shields.io/badge/rust-1.56.1%2B-orange.svg) +[![rustc](https://img.shields.io/badge/rust-1.56%2B-orange.svg)](https://img.shields.io/badge/rust-1.56%2B-orange.svg) A pure-Rust hash table which preserves (in a limited sense) insertion order. diff --git a/src/lib.rs b/src/lib.rs index cbca4b0b..ba613342 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -53,7 +53,7 @@ //! //! ### Rust Version //! -//! This version of indexmap requires Rust 1.56.1 or later. +//! This version of indexmap requires Rust 1.56 or later. //! //! The indexmap 1.x release series will use a carefully considered version //! upgrade policy, where in a later 1.x version, we will raise the minimum From 3f8381a4e81b974aed0c625d5d76b2d881915eec Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Thu, 16 Jun 2022 23:15:27 -0700 Subject: [PATCH 2/3] Run CI on 1.56.1 until next hashbrown release The PR changing hashbrown's `rust-version` from 1.56.1 to 1.56.0 has been merged to master but not made it into a hashbrown release yet. (cherry picked from commit b6aa495bede3ae3ed3e1303d35646e9ab719378c) --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8c6c10cb..4cc1a76a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,7 @@ jobs: strategy: matrix: include: - - rust: 1.56.0 # MSRV + - rust: 1.56.1 # MSRV features: - rust: stable features: serde @@ -59,7 +59,7 @@ jobs: strategy: matrix: include: - - rust: 1.56.0 + - rust: 1.56.1 target: thumbv6m-none-eabi - rust: stable target: thumbv6m-none-eabi From 3f6cdde72a11d0ea6ae8787346a725e762886c18 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Tue, 21 Jun 2022 10:37:14 -0700 Subject: [PATCH 3/3] Release 1.9.1 --- Cargo.toml | 2 +- RELEASES.md | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index b75c9a5d..1ecd8ba2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "indexmap" edition = "2021" -version = "1.9.0" +version = "1.9.1" documentation = "https://docs.rs/indexmap/" repository = "https://github.com/bluss/indexmap" license = "Apache-2.0 OR MIT" diff --git a/RELEASES.md b/RELEASES.md index ef33190e..5b1d23a1 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1,3 +1,9 @@ +- 1.9.1 + + - The MSRV now allows Rust 1.56.0 as well. However, currently `hashbrown` + 0.12.1 requires 1.56.1, so users on 1.56.0 should downgrade that to 0.12.0 + until there is a later published version relaxing its requirement. + - 1.9.0 - **MSRV**: Rust 1.56.1 or later is now required.