Decision Workspace
vecmin vs vec1 vs non-empty-slice
Side-by-side comparison of Rust crates
42
vecmin
experimentalv0.1.0
Provides a `VecMin` and `VecOne` newtype wrapper around `Vec` that enforces a minimum length at compile time.
63
vec1
growingv1.12.1
a std Vec wrapper assuring that it has at least 1 element
67
non-empty-slice
growingv0.7.0
Non-empty slices.
Core Metrics
| vecmin | vec1 | non-empty-slice | |
|---|---|---|---|
| Health Score | 42 | 63 | 67 |
| Total Downloads | 29 | 12.9M | 28.4K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 1.6K | 49 |
| Releases | 1 | 17 | 12 |
| Last Updated | 228d ago | 867d ago | 4d ago |
| Age | 7m | 8y 4m | 1y 5m |
Health Breakdown
vecmin
Maintenance
4
Quality
15
Community
6
Popularity
2
Documentation
15
vec1
Maintenance
4
Quality
22
Community
14
Popularity
8
Documentation
15
non-empty-slice
Maintenance
19
Quality
17
Community
11
Popularity
5
Documentation
15
Technical Details
| vecmin | vec1 | non-empty-slice | |
|---|---|---|---|
| Version | 0.1.0 | 1.12.1 | 0.7.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | Apache-2.0 | MIT OR Apache-2.0 | MIT |
| Dependencies | 0 | 4 | 5 |
| Crate Size | 7KB | 34KB | 27KB |
| Features | 0 | 5 | 6 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2021 | 2024 |
| MSRV | 1.87 | 1.71.1 | 1.99 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •non-empty-slice leads with a health score of 67/100, but none of the options score above 80.
- •vec1 has the most downloads (12.9M), suggesting wider adoption.
- •vec1 is depended on by 1.6K crates — strongest ecosystem trust.
- •⚠ vec1 has not been updated in over a year.
- •vecmin, non-empty-slice are pre-1.0 — API may change.