From 7819c6ddd733c8c527c1c26d2fd2bc3f506226b0 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Wed, 2 Jun 2021 18:07:42 -0700 Subject: [PATCH] Update to hashbrown 0.11 (MSRV 1.49) --- .github/workflows/ci.yml | 4 ++-- Cargo.toml | 4 ++-- README.rst | 10 ++++++++-- src/lib.rs | 2 +- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b7a5e6dd..a399c1f8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,7 @@ jobs: strategy: matrix: include: - - rust: 1.36.0 # MSRV + - rust: 1.49.0 # MSRV features: - rust: stable features: serde @@ -57,7 +57,7 @@ jobs: strategy: matrix: include: - - rust: 1.36.0 + - rust: 1.49.0 target: thumbv6m-none-eabi - rust: stable target: thumbv6m-none-eabi diff --git a/Cargo.toml b/Cargo.toml index 165b5270..d099405d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "indexmap" edition = "2018" -version = "1.6.2" +version = "1.7.0" authors = [ "bluss", "Josh Stone " @@ -37,7 +37,7 @@ serde = { version = "1.0", optional = true, default-features = false } rayon = { version = "1.2", optional = true } [dependencies.hashbrown] -version = "0.9.1" +version = "0.11" default-features = false features = ["raw"] diff --git a/README.rst b/README.rst index 1cf5368b..e4617f8e 100644 --- a/README.rst +++ b/README.rst @@ -12,8 +12,8 @@ indexmap .. |docs| image:: https://docs.rs/indexmap/badge.svg .. _docs: https://docs.rs/indexmap -.. |rustc| image:: https://img.shields.io/badge/rust-1.36%2B-orange.svg -.. _rustc: https://img.shields.io/badge/rust-1.36%2B-orange.svg +.. |rustc| image:: https://img.shields.io/badge/rust-1.49%2B-orange.svg +.. _rustc: https://img.shields.io/badge/rust-1.49%2B-orange.svg A pure-Rust hash table which preserves (in a limited sense) insertion order. @@ -66,6 +66,12 @@ which is roughly: Recent Changes ============== +- 1.7.0 + + - **MSRV**: Rust 1.49 or later is now required. + + - The ``hashbrown`` dependency has been updated to version 0.11. + - 1.6.2 - Fixed to match ``std`` behavior, ``OccupiedEntry::key`` now references the diff --git a/src/lib.rs b/src/lib.rs index 0ccdb0ff..aa419da3 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -53,7 +53,7 @@ //! //! ### Rust Version //! -//! This version of indexmap requires Rust 1.36 or later. +//! This version of indexmap requires Rust 1.49 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