Decision Workspace
safe-shuffle vs lazy-shuffle vs smallperm
Side-by-side comparison of Rust crates
33
safe-shuffle
growingv0.1.1
Perform unbiased shuffles using a CSPRNG and Fisher-Yates
47
lazy-shuffle
experimentalv0.0.1
Lazy Fisher-Yates shuffle iterator - yielding random permutations without allocating the full sequence
40
smallperm
experimentalv0.1.0
High-performance pseudo-random permutations using Feistel networks with O(1) memory and O(1) time per element
Core Metrics
| safe-shuffle | lazy-shuffle | smallperm | |
|---|---|---|---|
| Health Score | 33 | 47 | 40 |
| Total Downloads | 1.6K | 13 | 18 |
| 30d Downloads | 3 | 13 | 3 |
| Dependents | 0 | 0 | 0 |
| Releases | 1 | 1 | 1 |
| Last Updated | 1388d ago | 10d ago | 74d ago |
| Age | 3y 9m | 10d | 2m |
Health Breakdown
safe-shuffle
Maintenance
1
Quality
15
Community
6
Popularity
4
Documentation
7
lazy-shuffle
Maintenance
12
Quality
16
Community
6
Popularity
1
Documentation
12
smallperm
Maintenance
9
Quality
13
Community
6
Popularity
2
Documentation
10
Technical Details
| safe-shuffle | lazy-shuffle | smallperm | |
|---|---|---|---|
| Version | 0.1.1 | 0.0.1 | 0.1.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT OR Apache-2.0 | Apache-2.0 |
| Dependencies | 3 | 2 | 4 |
| Crate Size | 2KB | 8KB | 15KB |
| Features | 0 | 2 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2024 | 2021 |
| MSRV | — | 1.85 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •lazy-shuffle leads with a health score of 47/100, but none of the options score above 80.
- •safe-shuffle has the most downloads (1.6K), suggesting wider adoption.
- •⚠ safe-shuffle has not been updated in over a year.