Decision Workspace
lazy_static vs lazy-regex vs lazy-static-include
Side-by-side comparison of Rust crates
66
lazy_static
growingv1.5.0
A macro for declaring lazily evaluated statics in Rust.
71
lazy-regex
stablev3.6.0
lazy static regular expressions checked at compile time
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_static | lazy-regex | lazy-static-include | |
|---|---|---|---|
| Health Score | 66 | 71 | 52 |
| Total Downloads | 660.2M | 28.1M | 337.6K |
| 30d Downloads | 40.8M | 2.5M | 6.3K |
| Dependents | 168.7K | 4.3K | 140 |
| Releases | 38 | 32 | 33 |
| Last Updated | 644d ago | 44d ago | 929d ago |
| Age | 11y 4m | 6y 5m | 7y 6m |
Health Breakdown
lazy_static
Maintenance
6
Quality
21
Community
20
Popularity
8
Documentation
11
lazy-regex
Maintenance
15
Quality
22
Community
14
Popularity
8
Documentation
12
lazy-static-include
Maintenance
6
Quality
15
Community
12
Popularity
7
Documentation
12
Technical Details
| lazy_static | lazy-regex | lazy-static-include | |
|---|---|---|---|
| Version | 1.5.0 | 3.6.0 | 3.2.1 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT | MIT |
| Dependencies | 3 | 4 | 7 |
| Crate Size | 14KB | 11KB | 6KB |
| Features | 1 | 16 | 0 |
| Yanked % | 0.0% | 3.1% | 12.1% |
| Edition | — | 2021 | 2021 |
| MSRV | — | 1.71 | 1.60 |
| Owners | 2 (team) | 1 | 1 |
Links
Quick Verdict
- •lazy-regex leads with a health score of 71/100, but none of the options score above 80.
- •lazy_static has the most downloads (660.2M), suggesting wider adoption.
- •lazy_static is depended on by 168.7K crates — strongest ecosystem trust.
- •⚠ lazy_static, lazy-static-include have not been updated in over a year.