Skip to content

Commit 97b1547

Browse files
author
Gianmarco Garrisi
committed
Release preparation
1 parent dabe215 commit 97b1547

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@ Please read the [API documentation here](https://docs.rs/priority-queue/)
1313

1414
To use this crate, simply add the following string to your `Cargo.toml`:
1515
```
16-
priority-queue = "1.4.0"
16+
priority-queue = "2.0.0"
1717
```
18+
or use the command `cargo add priority-queue`
1819

1920
Version numbers follow the [semver](https://semver.org/) convention.
2021

@@ -109,7 +110,10 @@ It also emerges that the ability to arbitrarily pop the minimum or maximum eleme
109110
Feel free to contribute to this project with pull requests and/or issues. All contribution should be under a license compatible with the GNU LGPL and with the MPL.
110111

111112
## Changes
112-
113+
* 2.0.0 This release contains **breaking changes**
114+
* Some methods now require the trait bound `H: BuildHasher`.
115+
This change will likely have a small impact or none.
116+
* The standard library support is no longer auto-detected. The feature "std" is included in the default feature set, or else can be enabled like any other Cargo feature. Users that need to support `no_std` targets will have to disable default features.
113117
* 1.4.0 Improve `shrink_to_fit` to also shrink the internal IndexMap ([#50](https://github.com/garro95/priority-queue/issues/50))
114118
* 1.3.2 Bug fix in the `log2_fast` internal function
115119
* 1.3.1 Bug fix: [#42](https://github.com/garro95/priority-queue/issues/42)

0 commit comments

Comments
 (0)