Decision Workspace
rand_regex vs fake vs petname
Side-by-side comparison of Rust crates
60
rand_regex
growingv0.19.0
Generates random strings and byte strings matching a regex
70
fake
stablev5.1.0
An easy to use library and command line for generating fake data like name, number, address, lorem, dates, etc.
67
petname
stablev2.0.2
Generate human readable random names. Usable as a library and from the command-line.
Core Metrics
| rand_regex | fake | petname | |
|---|---|---|---|
| Health Score | 60 | 70 | 67 |
| Total Downloads | 2.5M | 11.7M | 1.2M |
| 30d Downloads | 196.3K | 1.1M | 77.9K |
| Dependents | 460 | 3.3K | 321 |
| Releases | 14 | 42 | 38 |
| Last Updated | 31d ago | 11d ago | 6d ago |
| Age | 7y 5m | 9y 9m | 8y 9m |
Health Breakdown
rand_regex
Maintenance
14
Quality
13
Community
13
Popularity
8
Documentation
12
fake
Maintenance
17
Quality
16
Community
17
Popularity
8
Documentation
12
petname
Maintenance
18
Quality
19
Community
13
Popularity
7
Documentation
10
Technical Details
| rand_regex | fake | petname | |
|---|---|---|---|
| Version | 0.19.0 | 5.1.0 | 2.0.2 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT | MIT OR Apache-2.0 | Apache-2.0 |
| Dependencies | 7 | 31 | 8 |
| Crate Size | 22KB | 167KB | 228KB |
| Features | 2 | 11 | 3 |
| Yanked % | 7.1% | 9.5% | 0.0% |
| Edition | 2024 | 2021 | 2021 |
| MSRV | 1.85.0 | 1.63 | — |
| Owners | 1 | 2 (team) | 1 |
Links
Quick Verdict
- •fake leads with a health score of 70/100, but none of the options score above 80.
- •fake is depended on by 3.3K crates — strongest ecosystem trust.
- •rand_regex is pre-1.0 — API may change.