Decision Workspace
slice-find vs array_trait vs random-pick
Side-by-side comparison of Rust crates
45
slice-find
growingv0.0.2
SliceFind trait add .find() method (for search sub-slice in slice) to Vec, slice, fixed-length-slice in standard library
67
array_trait
stablev1.1.28
A generic trait for any array, with item as type and length as const parameter
61
random-pick
growingv1.2.18
Pick an element from a slice randomly by given weights.
Core Metrics
| slice-find | array_trait | random-pick | |
|---|---|---|---|
| Health Score | 45 | 67 | 61 |
| Total Downloads | 4.4K | 101.7K | 2.0M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 13 | 113 | 58 |
| Releases | 2 | 95 | 24 |
| Last Updated | 660d ago | 23d ago | 93d ago |
| Age | 1y 10m | 3y 3m | 8y 1m |
Health Breakdown
slice-find
Maintenance
5
Quality
17
Community
9
Popularity
4
Documentation
10
array_trait
Maintenance
18
Quality
21
Community
12
Popularity
6
Documentation
10
random-pick
Maintenance
11
Quality
20
Community
10
Popularity
8
Documentation
12
Technical Details
| slice-find | array_trait | random-pick | |
|---|---|---|---|
| Version | 0.0.2 | 1.1.28 | 1.2.18 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT | MIT | MIT |
| Dependencies | 0 | 2 | 1 |
| Crate Size | 5KB | 8KB | 5KB |
| Features | 1 | 4 | 0 |
| Yanked % | 0.0% | 1.1% | 0.0% |
| Edition | 2021 | 2024 | 2021 |
| MSRV | — | — | 1.63 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •array_trait leads with a health score of 67/100, but none of the options score above 80.
- •random-pick has the most downloads (2.0M), suggesting wider adoption.
- •array_trait is depended on by 113 crates — strongest ecosystem trust.
- •⚠ slice-find has not been updated in over a year.
- •slice-find is pre-1.0 — API may change.