Decision Workspace
br-code vs mod-rand vs nanoid
Side-by-side comparison of Rust crates
42
br-code
growingv0.1.7
This is an code
60
mod-rand
experimentalv1.0.0
Tiered randomness for Rust: fast PRNG, process-unique seeds, and OS-backed cryptographic random — plus bounded ranges, strings, tokens, shuffle, sample, and weighted choice. Zero dependencies, MSRV 1.75.
59
nanoid
growingv0.5.0
A tiny, secure, URL-friendly, unique string ID generator for Rust.
Core Metrics
| br-code | mod-rand | nanoid | |
|---|---|---|---|
| Health Score | 42 | 60 | 59 |
| Total Downloads | 12.0K | 214 | 16.7M |
| 30d Downloads | 0 | 0 | 1.6M |
| Dependents | 0 | 16 | 7.8K |
| Releases | 13 | 5 | 8 |
| Last Updated | 169d ago | 7d ago | 42d ago |
| Age | 3y 1m | 14d | 8y 5m |
Health Breakdown
br-code
Maintenance
11
Quality
16
Community
3
Popularity
5
Documentation
7
mod-rand
Maintenance
14
Quality
19
Community
9
Popularity
3
Documentation
15
nanoid
Maintenance
12
Quality
15
Community
12
Popularity
8
Documentation
12
Technical Details
| br-code | mod-rand | nanoid | |
|---|---|---|---|
| Version | 0.1.7 | 1.0.0 | 0.5.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | Apache-2.0 | MIT |
| Dependencies | 13 | 0 | 4 |
| Crate Size | 20KB | 90KB | 13KB |
| Features | 7 | 4 | 1 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2018 |
| MSRV | — | 1.75 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •mod-rand leads with a health score of 60/100, but none of the options score above 80.
- •nanoid has the most downloads (16.7M), suggesting wider adoption.
- •nanoid is depended on by 7.8K crates — strongest ecosystem trust.
- •br-code, nanoid are pre-1.0 — API may change.