Decision Workspace
rec vs relex vs safe-regex
Side-by-side comparison of Rust crates
39
rec
growingv0.11.0
Regular Expression Constructor
45
relex
growingv1.0.0
a library for building a regex-based lexer
43
safe-regex
growingv0.3.0
Safe regular expression library
Core Metrics
| rec | relex | safe-regex | |
|---|---|---|---|
| Health Score | 39 | 45 | 43 |
| Total Downloads | 17.5K | 5.3K | 1.6M |
| 30d Downloads | 21 | 6 | 83.0K |
| Dependents | 2 | 0 | 191 |
| Releases | 11 | 4 | 10 |
| Last Updated | 2418d ago | 1769d ago | 711d ago |
| Age | 7y 2m | 4y 10m | 5y 1m |
Health Breakdown
rec
Maintenance
4
Quality
14
Community
7
Popularity
5
Documentation
9
relex
Maintenance
6
Quality
20
Community
6
Popularity
4
Documentation
9
safe-regex
Maintenance
4
Quality
11
Community
12
Popularity
7
Documentation
9
Technical Details
| rec | relex | safe-regex | |
|---|---|---|---|
| Version | 0.11.0 | 1.0.0 | 0.3.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | MIT | Apache-2.0 |
| Dependencies | 6 | 1 | 1 |
| Crate Size | 10KB | 6KB | 12KB |
| Features | 0 | 0 | 2 |
| Yanked % | 0.0% | 0.0% | 30.0% |
| Edition | 2018 | 2018 | 2018 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •relex leads with a health score of 45/100, but none of the options score above 80.
- •safe-regex has the most downloads (1.6M), suggesting wider adoption.
- •safe-regex is depended on by 191 crates — strongest ecosystem trust.
- •⚠ rec, relex, safe-regex have not been updated in over a year.
- •rec, safe-regex are pre-1.0 — API may change.