Decision Workspace
relex vs safe-regex vs safe-regex-compiler
Side-by-side comparison of Rust crates
45
relex
growingv1.0.0
a library for building a regex-based lexer
43
safe-regex
growingv0.3.0
Safe regular expression library
38
safe-regex-compiler
growingv0.3.0
Regex compiler for the safe-regex crate
Core Metrics
| relex | safe-regex | safe-regex-compiler | |
|---|---|---|---|
| Health Score | 45 | 43 | 38 |
| Total Downloads | 5.3K | 1.6M | 1.6M |
| 30d Downloads | 6 | 83.0K | 83.1K |
| Dependents | 0 | 191 | 9 |
| Releases | 4 | 10 | 10 |
| Last Updated | 1769d ago | 711d ago | 711d ago |
| Age | 4y 10m | 5y 1m | 5y 1m |
Health Breakdown
relex
Maintenance
6
Quality
20
Community
6
Popularity
4
Documentation
9
safe-regex
Maintenance
4
Quality
11
Community
12
Popularity
7
Documentation
9
safe-regex-compiler
Maintenance
4
Quality
9
Community
9
Popularity
7
Documentation
9
Technical Details
| relex | safe-regex | safe-regex-compiler | |
|---|---|---|---|
| Version | 1.0.0 | 0.3.0 | 0.3.0 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | MIT | Apache-2.0 | Apache-2.0 |
| Dependencies | 1 | 1 | 2 |
| Crate Size | 6KB | 12KB | 30KB |
| Features | 0 | 2 | 0 |
| Yanked % | 0.0% | 30.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-compiler has the most downloads (1.6M), suggesting wider adoption.
- •safe-regex is depended on by 191 crates — strongest ecosystem trust.
- •⚠ relex, safe-regex, safe-regex-compiler have not been updated in over a year.
- •safe-regex, safe-regex-compiler are pre-1.0 — API may change.