Decision Workspace
unzip-array-of-tuple vs digits_utils vs array__ops
Side-by-side comparison of Rust crates
This package currently provides one function that takes in an array containing tuples of two types; the function then returns two arrays, the first containing all the first elements of the tuples, and the second array containing the second elements of the tuples. This functionality is available in iterators through unzip, but unzip can only return collections which implement Extend; which primitive arrays do not. Therefore, unzip works fine for Vec or other dynamic types, but not for simple, beautiful arrays, with lengths known at compiletime. My implementation is hopefully quite efficient, as it just moves data around, without using too much costly abstractions like std::array::from_fn. This crate has 4 tests that I think cover basically everything; still it could be unsound..
Utilities for converting numbers to digits
A selection of useful array operations
Core Metrics
| unzip-array-of-tuple | digits_utils | array__ops | |
|---|---|---|---|
| Health Score | 35 | 58 | 54 |
| Total Downloads | 18.5K | 1.2K | 34.2K |
| 30d Downloads | 20 | 10 | 116 |
| Dependents | 0 | 0 | 52 |
| Releases | 1 | 7 | 25 |
| Last Updated | 1127d ago | 159d ago | 414d ago |
| Age | 3y 1m | 5m | 2y 3m |
Health Breakdown
Technical Details
| unzip-array-of-tuple | digits_utils | array__ops | |
|---|---|---|---|
| Version | 0.1.0 | 0.3.0 | 1.0.3 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT | MIT |
| Dependencies | 0 | 0 | 4 |
| Crate Size | 2KB | 5KB | 65KB |
| Features | 0 | 13 | 2 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2018 | 2021 |
| MSRV | — | 1.51 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •digits_utils leads with a health score of 58/100, but none of the options score above 80.
- •array__ops has the most downloads (34.2K), suggesting wider adoption.
- •⚠ unzip-array-of-tuple, array__ops have not been updated in over a year.
- •unzip-array-of-tuple, digits_utils are pre-1.0 — API may change.