Decision Workspace
heapq vs fpq vs priority-queue
Side-by-side comparison of Rust crates
46
heapq
growingv0.2.0
Priority Queue with scoring function
47
fpq
growingv0.4.0
Priority Queue with scoring Function
69
priority-queue
growingv2.7.0
A Priority Queue implemented as a heap with a function to efficiently change the priority of an item.
Core Metrics
| heapq | fpq | priority-queue | |
|---|---|---|---|
| Health Score | 46 | 47 | 69 |
| Total Downloads | 2.6K | 1.5K | 20.7M |
| 30d Downloads | 35 | 5 | 1.7M |
| Dependents | 0 | 0 | 1.5K |
| Releases | 2 | 2 | 55 |
| Last Updated | 381d ago | 380d ago | 181d ago |
| Age | 2y 5m | 1y | 8y 8m |
Health Breakdown
heapq
Maintenance
5
Quality
16
Community
6
Popularity
4
Documentation
15
fpq
Maintenance
6
Quality
16
Community
6
Popularity
4
Documentation
15
priority-queue
Maintenance
11
Quality
20
Community
15
Popularity
8
Documentation
15
Technical Details
| heapq | fpq | priority-queue | |
|---|---|---|---|
| Version | 0.2.0 | 0.4.0 | 2.7.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT | MIT | LGPL-3.0-or-later OR MPL-2.0 |
| Dependencies | 0 | 0 | 9 |
| Crate Size | 4KB | 4KB | 52KB |
| Features | 0 | 0 | 3 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2021 |
| MSRV | 1.85 | 1.85 | 1.65.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •priority-queue leads with a health score of 69/100, but none of the options score above 80.
- •priority-queue is depended on by 1.5K crates — strongest ecosystem trust.
- •⚠ heapq, fpq have not been updated in over a year.
- •heapq, fpq are pre-1.0 — API may change.