#priority-queue #queue #data-strucutures

queue-queue

A priority queue implementation based on Rust's BinaryHeap

9 releases

0.2.2 Jun 8, 2024
0.2.1 Jun 5, 2024
0.2.0 May 17, 2024
0.1.4 May 16, 2024
0.0.1 May 6, 2024

#852 in Rust patterns

Download history 352/week @ 2024-05-06 604/week @ 2024-05-13 32/week @ 2024-05-20 1/week @ 2024-05-27 340/week @ 2024-06-03 24/week @ 2024-06-10

413 downloads per month

MIT license

48KB
913 lines

queue-queue

codecov

Name inspired by the sound birds make "cuckoo"

A simple priority queue crate that supports defining the priority of an element with zero default dependencies. All queues depend on 2 types P the priority, that implements PartialOrd + PartialEq + Eq and T the value, that implements PartialEq + Eq.

All priority queues implement the trait PriorityQueue from prelude, and the available queues are:

No runtime deps