Decision Workspace
vec_mut_scan vs vecrem vs drain_at_sorted_unchecked
Side-by-side comparison of Rust crates
45
vec_mut_scan
growingv0.5.0
Forward scan over a vector with mutation and item removal
42
vecrem
growingv0.1.0
Cursor-like structure for fast iterative removing of elements from a vec
40
drain_at_sorted_unchecked
growingv0.1.0
Terribly unsafe but highly efficient function that allows removing items from a vector with few moves.
Core Metrics
| vec_mut_scan | vecrem | drain_at_sorted_unchecked | |
|---|---|---|---|
| Health Score | 45 | 42 | 40 |
| Total Downloads | 1.8M | 74.0K | 2.1K |
| 30d Downloads | 739.1K | 2.9K | 18 |
| Dependents | 2 | 41 | 0 |
| Releases | 5 | 1 | 1 |
| Last Updated | 1076d ago | 1905d ago | 979d ago |
| Age | 6y 10m | 5y 2m | 2y 8m |
Health Breakdown
vec_mut_scan
Maintenance
4
Quality
16
Community
7
Popularity
7
Documentation
11
vecrem
Maintenance
1
Quality
16
Community
9
Popularity
6
Documentation
10
drain_at_sorted_unchecked
Maintenance
1
Quality
16
Community
6
Popularity
4
Documentation
13
Technical Details
| vec_mut_scan | vecrem | drain_at_sorted_unchecked | |
|---|---|---|---|
| Version | 0.5.0 | 0.1.0 | 0.1.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | 0BSD | non-standard | MIT OR Apache-2.0 |
| Dependencies | 0 | 0 | 0 |
| Crate Size | 9KB | 6KB | 8KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2018 | 2021 |
| MSRV | 1.36.0 | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •vec_mut_scan leads with a health score of 45/100, but none of the options score above 80.
- •⚠ vec_mut_scan, vecrem, drain_at_sorted_unchecked have not been updated in over a year.