Skip to content

Commit fc5e4c3

Browse files
committed
bump to v0.3.1.
1 parent 9587e89 commit fc5e4c3

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
## [0.3.1] - 2020-09-24
10+
911
### Added
1012

1113
* generic constructor `from_vec_cmp_raw()`.

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "binary-heap-plus"
3-
version = "0.3.0"
3+
version = "0.3.1"
44
authors = ["SEKINE, Hideki <sekineh@me.com>"]
55
description = "Enhanced version of std::collections::BinaryHeap that supports max, min, and custom-order heaps."
66
license = "MIT"
@@ -12,10 +12,10 @@ edition = "2018"
1212

1313
[dependencies]
1414
compare = "0.1.0"
15-
serde = { version = "1.0", optional = true, features = ["derive"] }
15+
serde = { version = "1.0.116", optional = true, features = ["derive"] }
1616

1717
[dev-dependencies]
18-
serde_json = "1.0.56"
18+
serde_json = "1.0.57"
1919

2020
[badges]
2121
# TODO: waiting for PR to land...: https://github.com/rust-lang/crates.io/pull/1838#

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ It supports the following heaps and still maintains backward compatibility.
1717
Other notable added methods are:
1818
- `BinaryHeap::from_vec_cmp()` and `BinaryHeap::from_vec()` for more generic construction.
1919
- `.into_iter_sorted()` which is less-surprising version of `.into_iter()`. The implementation is backported from `std`.
20+
- `.replace_cmp()` which replace the comparator of the existing heap.
2021

2122
## MSRV (Minimum Supported Rust Version)
2223

@@ -34,6 +35,7 @@ https://github.com/sekineh/binary-heap-plus-rs/blob/master/CHANGELOG.md
3435
- DDOtten, steven099, CAD97, ExpHP, scottmcm, Nemo157 and gnzlbg, thanks for looking into the design!
3536
- @ulysseB sent me a first pull request!
3637
- @inesseq contributed feature `serde1`.
38+
- @davidli2010 contributed comparator update and `unsafe` perf optimazation.
3739

3840
# References
3941

0 commit comments

Comments
 (0)