Decision Workspace
lazy-regex vs lazy_static vs lazy-static-include
Side-by-side comparison of Rust crates
69
lazy-regex
stablev3.6.0
lazy static regular expressions checked at compile time
66
lazy_static
growingv1.5.0
A macro for declaring lazily evaluated statics in Rust.
52
lazy-static-include
growingv3.2.1
This crate provides `lazy_static_include_bytes` and `lazy_static_include_str` macros to replace `include_bytes` and `include_str` macros.
Core Metrics
| lazy-regex | lazy_static | lazy-static-include | |
|---|---|---|---|
| Health Score | 69 | 66 | 52 |
| Total Downloads | 32.2M | 754.6M | 346.1K |
| 30d Downloads | 2.2M | 53.0M | 4.3K |
| Dependents | 4.5K | 173.5K | 141 |
| Releases | 32 | 38 | 33 |
| Last Updated | 103d ago | 703d ago | 988d ago |
| Age | 6y 7m | 11y 6m | 7y 8m |
Health Breakdown
lazy-regex
Maintenance
13
Quality
22
Community
14
Popularity
8
Documentation
12
lazy_static
Maintenance
6
Quality
21
Community
20
Popularity
8
Documentation
11
lazy-static-include
Maintenance
6
Quality
15
Community
12
Popularity
7
Documentation
12
Technical Details
| lazy-regex | lazy_static | lazy-static-include | |
|---|---|---|---|
| Version | 3.6.0 | 1.5.0 | 3.2.1 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✓ Yes |
| License | MIT | MIT OR Apache-2.0 | MIT |
| Dependencies | 4 | 3 | 7 |
| Crate Size | 11KB | 14KB | 6KB |
| Features | 16 | 1 | 0 |
| Yanked % | 3.1% | 0.0% | 12.1% |
| Edition | 2021 | — | 2021 |
| MSRV | 1.71 | — | 1.60 |
| Owners | 1 | 2 (team) | 1 |
Links
Quick Verdict
- •lazy-regex leads with a health score of 69/100, but none of the options score above 80.
- •lazy_static has the most downloads (754.6M), suggesting wider adoption.
- •lazy_static is depended on by 173.5K crates — strongest ecosystem trust.
- •⚠ lazy_static, lazy-static-include have not been updated in over a year.