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