Decision Workspace
once-cell-regex vs lazy-regex vs once_cell
Side-by-side comparison of Rust crates
49
once-cell-regex
growingv0.2.1
This crate just gives you the `regex` macro from the `once_cell` docs!
71
lazy-regex
stablev3.6.0
lazy static regular expressions checked at compile time
75
once_cell
stablev1.21.4
Single assignment cells and lazy values.
Core Metrics
| once-cell-regex | lazy-regex | once_cell | |
|---|---|---|---|
| Health Score | 49 | 71 | 75 |
| Total Downloads | 632.4K | 28.1M | 782.7M |
| 30d Downloads | 79.5K | 2.5M | 52.5M |
| Dependents | 85 | 4.3K | 162.5K |
| Releases | 4 | 32 | 67 |
| Last Updated | 1933d ago | 44d ago | 15d ago |
| Age | 6y 4m | 6y 5m | 7y 8m |
Health Breakdown
once-cell-regex
Maintenance
4
Quality
18
Community
8
Popularity
7
Documentation
12
lazy-regex
Maintenance
15
Quality
22
Community
14
Popularity
8
Documentation
12
once_cell
Maintenance
18
Quality
18
Community
16
Popularity
8
Documentation
15
Technical Details
| once-cell-regex | lazy-regex | once_cell | |
|---|---|---|---|
| Version | 0.2.1 | 3.6.0 | 1.21.4 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | Apache-2.0/MIT | MIT | MIT OR Apache-2.0 |
| Dependencies | 2 | 4 | 5 |
| Crate Size | 7KB | 11KB | 35KB |
| Features | 5 | 16 | 9 |
| Yanked % | 0.0% | 3.1% | 11.9% |
| Edition | 2018 | 2021 | 2021 |
| MSRV | — | 1.71 | 1.65 |
| Owners | 1 | 1 | 2 |
Links
Quick Verdict
- •once_cell leads with a health score of 75/100, but none of the options score above 80.
- •once_cell is depended on by 162.5K crates — strongest ecosystem trust.
- •⚠ once-cell-regex has not been updated in over a year.
- •once-cell-regex is pre-1.0 — API may change.