Decision Workspace
vecrem vs drain_at_sorted_unchecked vs raw-parts
Side-by-side comparison of Rust crates
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.
72
raw-parts
stablev2.2.2
Ergonomic wrapper around `Vec::from_raw_parts` and `Vec::into_raw_parts`.
Core Metrics
| vecrem | drain_at_sorted_unchecked | raw-parts | |
|---|---|---|---|
| Health Score | 42 | 40 | 72 |
| Total Downloads | 74.0K | 2.1K | 83.7K |
| 30d Downloads | 2.9K | 18 | 663 |
| Dependents | 41 | 0 | 19 |
| Releases | 1 | 1 | 11 |
| Last Updated | 1905d ago | 979d ago | 11d ago |
| Age | 5y 2m | 2y 8m | 4y 4m |
Health Breakdown
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
raw-parts
Maintenance
16
Quality
20
Community
15
Popularity
6
Documentation
15
Technical Details
| vecrem | drain_at_sorted_unchecked | raw-parts | |
|---|---|---|---|
| Version | 0.1.0 | 0.1.0 | 2.2.2 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | non-standard | MIT OR Apache-2.0 | MIT |
| Dependencies | 0 | 0 | 1 |
| Crate Size | 6KB | 8KB | 7KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2021 | 2021 |
| MSRV | — | — | 1.76.0 |
| Owners | 1 | 1 | 2 (team) |
Links
Quick Verdict
- •raw-parts leads with a health score of 72/100, but none of the options score above 80.
- •⚠ vecrem, drain_at_sorted_unchecked have not been updated in over a year.
- •vecrem, drain_at_sorted_unchecked are pre-1.0 — API may change.