Decision Workspace
const-sub-array vs subslice-to-array vs index-fixed
Side-by-side comparison of Rust crates
37
const-sub-array
growingv0.1.0
Extract a fixed size sub-array out of an array with complie-time length and offset checks.
46
subslice-to-array
experimentalv0.1.2
Extract fixed-range subslices as arrays, with compile-time checks
44
index-fixed
growingv0.3.1
convert slices into arrays using indexes ([T] -> [T;N])
Core Metrics
| const-sub-array | subslice-to-array | index-fixed | |
|---|---|---|---|
| Health Score | 37 | 46 | 44 |
| Total Downloads | 3.8K | 1.6K | 299.2K |
| 30d Downloads | 61 | 5 | 4.8K |
| Dependents | 0 | 0 | 23 |
| Releases | 1 | 3 | 7 |
| Last Updated | 725d ago | 330d ago | 1957d ago |
| Age | 1y 12m | 11m | 9y 10m |
Health Breakdown
const-sub-array
Maintenance
1
Quality
16
Community
6
Popularity
4
Documentation
10
subslice-to-array
Maintenance
9
Quality
15
Community
6
Popularity
4
Documentation
12
index-fixed
Maintenance
3
Quality
16
Community
7
Popularity
7
Documentation
11
Technical Details
| const-sub-array | subslice-to-array | index-fixed | |
|---|---|---|---|
| Version | 0.1.0 | 0.1.2 | 0.3.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT OR Apache-2.0 | Apache-2.0 OR MIT |
| Dependencies | 0 | 0 | 0 |
| Crate Size | 8KB | 9KB | 2KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | — |
| MSRV | — | 1.79 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •subslice-to-array leads with a health score of 46/100, but none of the options score above 80.
- •index-fixed has the most downloads (299.2K), suggesting wider adoption.
- •⚠ const-sub-array, index-fixed have not been updated in over a year.