From f1ea00731d418e4dde4350bf93b8b058d74cb316 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Tue, 31 Oct 2023 14:00:49 -0700 Subject: [PATCH] Release 2.1.0 --- Cargo.toml | 2 +- RELEASES.md | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index e57c7333..dd38adee 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "indexmap" edition = "2021" -version = "2.0.2" +version = "2.1.0" 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 0964d198..817a2dc2 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1,3 +1,15 @@ +- 2.1.0 + + - Empty slices can now be created with `map::Slice::{new, new_mut}` and + `set::Slice::new`. In addition, `Slice::new`, `len`, and `is_empty` are + now `const` functions on both types. + + - `IndexMap`, `IndexSet`, and their respective `Slice`s all have binary + search methods for sorted data: map `binary_search_keys` and set + `binary_search` for plain comparision, `binary_search_by` for custom + comparators, `binary_search_by_key` for key extraction, and + `partition_point` for boolean conditions. + - 2.0.2 - The `hashbrown` dependency has been updated to version 0.14.1 to