Skip to content

Commit 6fc8f85

Browse files
committed
Version 0.13.1
1 parent 37071e5 commit 6fc8f85

File tree

2 files changed

+30
-3
lines changed

2 files changed

+30
-3
lines changed

CHANGELOG.md

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,32 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
77

88
## [Unreleased]
99

10+
## [v0.13.1] - 2022-11-10
11+
12+
# Added
13+
14+
- Added `Equivalent` trait to customize key lookups. (#350)
15+
- Added support for 16-bit targets. (#368)
16+
- Added `RawTable::allocation_info` which provides information about the memory
17+
usage of a table. (#371)
18+
19+
# Changed
20+
21+
- Bumped MSRV to 1.61.0.
22+
- Upgraded to `ahash` 0.8. (#357)
23+
- Make `with_hasher_in` const. (#355)
24+
- The following methods have been removed from the `RawTable` API in favor of
25+
safer alternatives:
26+
- `RawTable::erase_no_drop` => Use `RawTable::erase` or `RawTable::remove` instead.
27+
- `Bucket::read` => Use `RawTable::remove` instead.
28+
- `Bucket::drop` => Use `RawTable::erase` instead.
29+
- `Bucket::write` => Use `Bucket::as_mut` instead.
30+
31+
# Fixed
32+
33+
- Ensure that `HashMap` allocations don't exceed `isize::MAX`. (#362)
34+
- Fixed issue with field retagging in scopeguard. (#359)
35+
1036
## [v0.12.3] - 2022-07-17
1137

1238
## Fixed
@@ -363,7 +389,8 @@ This release was _yanked_ due to a breaking change for users of `no-default-feat
363389

364390
- Initial release
365391

366-
[Unreleased]: https://github.com/rust-lang/hashbrown/compare/v0.12.3...HEAD
392+
[Unreleased]: https://github.com/rust-lang/hashbrown/compare/v0.13.1...HEAD
393+
[v0.13.1]: https://github.com/rust-lang/hashbrown/compare/v0.12.3...v0.13.1
367394
[v0.12.3]: https://github.com/rust-lang/hashbrown/compare/v0.12.2...v0.12.3
368395
[v0.12.2]: https://github.com/rust-lang/hashbrown/compare/v0.12.1...v0.12.2
369396
[v0.12.1]: https://github.com/rust-lang/hashbrown/compare/v0.12.0...v0.12.1

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "hashbrown"
3-
version = "0.12.3"
3+
version = "0.13.1"
44
authors = ["Amanieu d'Antras <[email protected]>"]
55
description = "A Rust port of Google's SwissTable hash map"
66
license = "MIT OR Apache-2.0"
@@ -10,7 +10,7 @@ keywords = ["hash", "no_std", "hashmap", "swisstable"]
1010
categories = ["data-structures", "no-std"]
1111
exclude = [".github", "/ci/*"]
1212
edition = "2021"
13-
rust-version = "1.56.0"
13+
rust-version = "1.61.0"
1414

1515
[dependencies]
1616
# For the default hasher

0 commit comments

Comments
 (0)