NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io
crates.io, #3724 most downloaded on crates.io
Enhanced version of std::collections::BinaryHeap that supports max, min, and custom-order heaps.
Latest stable
0.5.0
Last release 4 years ago
no release in 18 months
Ships fairly regularly
a new release about every 12 months
Nearly every release is documented
notes for 13 of 13 stable releases
Nothing withdrawn
no release was ever pulled
9 years old
13 releases · first in 2018
Drag across the ruler to compare, or tap a release to open it.
Method shrink_to(), ported from rust-lang/rust
#[must_use] attribute to many methods, porting and extending several
rust-lang/rust PRsshrink_to(), ported from rust-lang/rustFrom<[T; N]> for BinaryHeap<T>, ported from
rust-lang/rust#84111From<BinaryHeap<T, C>> for Vec<T> instead of Into<Vec<T>> for
BinaryHeap<T, C>BinaryHeap::append()C: Compare<T> on BinaryHeap<T, C> struct and certain
methods, in part ported from rust-lang/rust#58421std::collections::BinaryHeap in Rust 1.62.0bump to v0.4.1. (revert rand crate due to MSRV)
bump to v0.4.1. (revert rand crate due to MSRV)
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Avoid sift_down for unmutated PeekMut (rust#75974)
generic constructor from_vec_cmp_raw().
from_vec_cmp_raw().replace_cmp() which replace the comparator of heap and its unsafe version replace_cmp_raw()..into_iter_sorted() which returns the values in *heap* order.
.into_iter_sorted() which returns the values in heap order. (#13)
.into_iter() returns the values in arbitrary order. There is a good reason (ex. make .extend() efficient) for std to do that, it was surprising to some people.[COMPATIBILITY] Use Compare trait from compare crate instead of our own definition. Most users should not be affected by this. TIP: External Compare i
Compare trait from compare crate instead of our own definition.
Most users should not be affected by this. TIP: External Compare<T> impls needs to be updated to use Fn instead of FnMut.serde1 to serde in order to comply with the guideline:
https://rust-lang-nursery.github.io/api-guidelines/interoperability.html#c-serdegeneric constructor from_vec() and from_vec_cmp().
from_vec() and from_vec_cmp().serde1 feature which adds Serialize/Deserialize
serde1 feature which adds Serialize/DeserializeMerge #1) Do not require T: Ord when a custom comparator is provided
Add comprehensive CI based on trust CI template v0.1.2
trust CI template v0.1.2Cargo.toml: add keywrods and category.
Cargo.toml: add keywrods and category.
* Initial tag
Cargo.toml: add description and license.
Cargo.toml: add description and license.
One column per quarter.