Decision Workspace
tranche vs typed-index-collections vs random-pick
Side-by-side comparison of Rust crates
40
tranche
growingv0.1.1
Tranches are an alternative to slices
70
typed-index-collections
stablev3.5.0
Typed index version of Rust slice and Vec containers
61
random-pick
stablev1.2.17
Pick an element from a slice randomly by given weights.
Core Metrics
| tranche | typed-index-collections | random-pick | |
|---|---|---|---|
| Health Score | 40 | 70 | 61 |
| Total Downloads | 2.9K | 3.0M | 1.5M |
| 30d Downloads | 5 | 205.3K | 54.8K |
| Dependents | 0 | 88 | 58 |
| Releases | 2 | 23 | 23 |
| Last Updated | 2155d ago | 68d ago | 124d ago |
| Age | 5y 11m | 5y 8m | 7y 7m |
Health Breakdown
tranche
Maintenance
3
Quality
16
Community
5
Popularity
4
Documentation
12
typed-index-collections
Maintenance
14
Quality
22
Community
11
Popularity
8
Documentation
15
random-pick
Maintenance
12
Quality
20
Community
10
Popularity
7
Documentation
12
Technical Details
| tranche | typed-index-collections | random-pick | |
|---|---|---|---|
| Version | 0.1.1 | 3.5.0 | 1.2.17 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | Apache-2.0 OR MIT | MIT OR Apache-2.0 | MIT |
| Dependencies | 1 | 7 | 1 |
| Crate Size | 10KB | 53KB | 5KB |
| Features | 1 | 7 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2021 | 2021 |
| MSRV | — | 1.90.0 | 1.63 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •typed-index-collections leads with a health score of 70/100, but none of the options score above 80.
- •⚠ tranche has not been updated in over a year.
- •tranche is pre-1.0 — API may change.