You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-2
Original file line number
Diff line number
Diff line change
@@ -13,8 +13,9 @@ Please read the [API documentation here](https://docs.rs/priority-queue/)
13
13
14
14
To use this crate, simply add the following string to your `Cargo.toml`:
15
15
```
16
-
priority-queue = "1.4.0"
16
+
priority-queue = "2.0.0"
17
17
```
18
+
or use the command `cargo add priority-queue`
18
19
19
20
Version numbers follow the [semver](https://semver.org/) convention.
20
21
@@ -109,7 +110,10 @@ It also emerges that the ability to arbitrarily pop the minimum or maximum eleme
109
110
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.
110
111
111
112
## 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.
113
117
* 1.4.0 Improve `shrink_to_fit` to also shrink the internal IndexMap ([#50](https://github.com/garro95/priority-queue/issues/50))
114
118
* 1.3.2 Bug fix in the `log2_fast` internal function
0 commit comments