Decision Workspace
rand_regex vs petname vs fake
Side-by-side comparison of Rust crates
55
rand_regex
growingv0.19.0
Generates random strings and byte strings matching a regex
68
petname
stablev3.1.0
Generate human readable random names. Usable as a library and from the command-line.
65
fake
stablev5.1.0
An easy to use library and command line for generating fake data like name, number, address, lorem, dates, etc.
Core Metrics
| rand_regex | petname | fake | |
|---|---|---|---|
| Health Score | 55 | 68 | 65 |
| Total Downloads | 3.5M | 1.6M | 15.7M |
| 30d Downloads | 182.1K | 77.2K | 638.0K |
| Dependents | 496 | 411 | 4.1K |
| Releases | 14 | 41 | 42 |
| Last Updated | 139d ago | 15d ago | 119d ago |
| Age | 7y 8m | 9y | 10y |
Health Breakdown
rand_regex
Maintenance
9
Quality
13
Community
13
Popularity
8
Documentation
12
petname
Maintenance
17
Quality
21
Community
13
Popularity
7
Documentation
10
fake
Maintenance
12
Quality
16
Community
17
Popularity
8
Documentation
12
Technical Details
| rand_regex | petname | fake | |
|---|---|---|---|
| Version | 0.19.0 | 3.1.0 | 5.1.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT | Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 7 | 7 | 31 |
| Crate Size | 22KB | 243KB | 167KB |
| Features | 2 | 6 | 11 |
| Yanked % | 7.1% | 0.0% | 9.5% |
| Edition | 2024 | 2021 | 2021 |
| MSRV | 1.85.0 | — | 1.63 |
| Owners | 1 | 1 | 2 (team) |
Links
Quick Verdict
- •petname leads with a health score of 68/100, but none of the options score above 80.
- •fake has the most downloads (15.7M), suggesting wider adoption.
- •fake is depended on by 4.1K crates — strongest ecosystem trust.
- •rand_regex is pre-1.0 — API may change.