Skip to content

Commit

Permalink
Version dump
Browse files Browse the repository at this point in the history
  • Loading branch information
Gianmarco Garrisi committed Feb 4, 2024
1 parent d77b01c commit 50b55fe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "priority-queue"
version = "1.3.2"
version = "1.4.0"
authors = ["Gianmarco Garrisi <[email protected]>"]
description = "A Priority Queue implemented as a heap with a function to efficiently change the priority of an item."
repository = "https://github.com/garro95/priority-queue"
Expand Down
7 changes: 2 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Please read the [API documentation here](https://docs.rs/priority-queue/)

To use this crate, simply add the following string to your `Cargo.toml`:
```
priority-queue = "1.3.2"
priority-queue = "1.4.0"
```

Version numbers follow the [semver](https://semver.org/) convention.
Expand All @@ -25,8 +25,6 @@ Remember that, if you need serde support, you should compile using `--features s
## Example

```rust
extern crate priority_queue; // not necessary in Rust edition 2018

use priority_queue::PriorityQueue;

fn main() {
Expand All @@ -45,8 +43,6 @@ fn main() {
}
```

Note: in recent versions of Rust (edition 2018) the `extern crate priority_queue` is not necessary anymore!

## Speeding up

You can use custom BuildHasher for the underlying IndexMap and therefore achieve better performance.
Expand Down Expand Up @@ -114,6 +110,7 @@ Feel free to contribute to this project with pull requests and/or issues. All co

## Changes

* 1.4.0 Improve `shrink_to_fit` to also shrink the internal IndexMap ([#50](https://github.com/garro95/priority-queue/issues/50))
* 1.3.2 Bug fix in the `log2_fast` internal function
* 1.3.1 Bug fix: [#42](https://github.com/garro95/priority-queue/issues/42)
* 1.3.0 Return bool from `change_priority_by` (Merged [#41](https://github.com/garro95/priority-queue/pull/41))
Expand Down

0 comments on commit 50b55fe

Please sign in to comment.