Decision Workspace
slice-find vs array_trait vs random-pick
Side-by-side comparison of Rust crates
46
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
64
array_trait
stablev1.1.20
A generic trait for any array, with item as type and length as const parameter
61
random-pick
stablev1.2.17
Pick an element from a slice randomly by given weights.
Core Metrics
| slice-find | array_trait | random-pick | |
|---|---|---|---|
| Health Score | 46 | 64 | 61 |
| Total Downloads | 4.0K | 94.6K | 1.5M |
| 30d Downloads | 58 | 957 | 57.6K |
| Dependents | 12 | 81 | 58 |
| Releases | 2 | 87 | 23 |
| Last Updated | 464d ago | 57d ago | 124d ago |
| Age | 1y 3m | 2y 9m | 7y 7m |
Health Breakdown
slice-find
Maintenance
6
Quality
17
Community
9
Popularity
4
Documentation
10
array_trait
Maintenance
16
Quality
21
Community
11
Popularity
6
Documentation
10
random-pick
Maintenance
12
Quality
20
Community
10
Popularity
7
Documentation
12
Technical Details
| slice-find | array_trait | random-pick | |
|---|---|---|---|
| Version | 0.0.2 | 1.1.20 | 1.2.17 |
| 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 64/100, but none of the options score above 80.
- •random-pick has the most downloads (1.5M), suggesting wider adoption.
- •⚠ slice-find has not been updated in over a year.
- •slice-find is pre-1.0 — API may change.