Decision Workspace
slice_as_array vs random-pick vs ps-util
Side-by-side comparison of Rust crates
47
slice_as_array
growingv1.1.0
Cast slices to arrays
61
random-pick
growingv1.2.18
Pick an element from a slice randomly by given weights.
61
ps-util
growingv0.1.0-9
This crate aims to provide generally helpful utility functions and traits.
Core Metrics
| slice_as_array | random-pick | ps-util | |
|---|---|---|---|
| Health Score | 47 | 61 | 61 |
| Total Downloads | 82.5K | 2.0M | 5.9K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 17 | 58 | 50 |
| Releases | 2 | 24 | 9 |
| Last Updated | 3813d ago | 93d ago | 95d ago |
| Age | 10y 7m | 8y 1m | 2y 2m |
Health Breakdown
slice_as_array
Maintenance
3
Quality
22
Community
5
Popularity
6
Documentation
11
random-pick
Maintenance
11
Quality
20
Community
10
Popularity
8
Documentation
12
ps-util
Maintenance
14
Quality
16
Community
11
Popularity
5
Documentation
15
Technical Details
| slice_as_array | random-pick | ps-util | |
|---|---|---|---|
| Version | 1.1.0 | 1.2.18 | 0.1.0-9 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✗ No |
| License | MIT/Apache-2.0 | MIT | GPL-3.0-or-later |
| Dependencies | 1 | 1 | 0 |
| Crate Size | 8KB | 5KB | 12KB |
| Features | 3 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | — | 2021 | 2021 |
| MSRV | — | 1.63 | 1.93 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •random-pick leads with a health score of 61/100, but none of the options score above 80.
- •⚠ slice_as_array has not been updated in over a year.
- •ps-util is pre-1.0 — API may change.