Decision Workspace
unzip-array-of-tuple vs ps-util vs digits_utils
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..
This crate aims to provide generally helpful utility functions and traits.
Utilities for converting numbers to digits
Core Metrics
| unzip-array-of-tuple | ps-util | digits_utils | |
|---|---|---|---|
| Health Score | 35 | 61 | 55 |
| Total Downloads | 18.6K | 5.9K | 1.3K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 50 | 0 |
| Releases | 1 | 9 | 7 |
| Last Updated | 1323d ago | 95d ago | 355d ago |
| Age | 3y 7m | 2y 2m | 11m |
Health Breakdown
Technical Details
| unzip-array-of-tuple | ps-util | digits_utils | |
|---|---|---|---|
| Version | 0.1.0 | 0.1.0-9 | 0.3.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | GPL-3.0-or-later | MIT |
| Dependencies | 0 | 0 | 0 |
| Crate Size | 2KB | 12KB | 5KB |
| Features | 0 | 0 | 13 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2018 |
| MSRV | — | 1.93 | 1.51 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •ps-util leads with a health score of 61/100, but none of the options score above 80.
- •unzip-array-of-tuple has the most downloads (18.6K), suggesting wider adoption.
- •⚠ unzip-array-of-tuple has not been updated in over a year.