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
44
safe-regex
growingv0.3.0
Safe regular expression library
Core Metrics
| rec | relex | safe-regex | |
|---|---|---|---|
| Health Score | 39 | 45 | 44 |
| Total Downloads | 17.7K | 5.3K | 2.1M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 2 | 0 | 191 |
| Releases | 11 | 4 | 10 |
| Last Updated | 2614d ago | 1965d ago | 907d ago |
| Age | 7y 9m | 5y 4m | 5y 7m |
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
8
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 (2.1M), 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.