Skip to content

Commit f1ea007

Browse files
committed
Release 2.1.0
1 parent cd641d2 commit f1ea007

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "indexmap"
33
edition = "2021"
4-
version = "2.0.2"
4+
version = "2.1.0"
55
documentation = "https://docs.rs/indexmap/"
66
repository = "https://github.com/bluss/indexmap"
77
license = "Apache-2.0 OR MIT"

RELEASES.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
- 2.1.0
2+
3+
- Empty slices can now be created with `map::Slice::{new, new_mut}` and
4+
`set::Slice::new`. In addition, `Slice::new`, `len`, and `is_empty` are
5+
now `const` functions on both types.
6+
7+
- `IndexMap`, `IndexSet`, and their respective `Slice`s all have binary
8+
search methods for sorted data: map `binary_search_keys` and set
9+
`binary_search` for plain comparision, `binary_search_by` for custom
10+
comparators, `binary_search_by_key` for key extraction, and
11+
`partition_point` for boolean conditions.
12+
113
- 2.0.2
214

315
- The `hashbrown` dependency has been updated to version 0.14.1 to

0 commit comments

Comments
 (0)