Decision Workspace
lazy-regex vs lazy_static vs lazy-static-include
Side-by-side comparison of Rust crates
74
lazy-regex
stablev3.6.2
lazy static regular expressions checked at compile time
72
lazy_static
stablev1.5.1
A macro for declaring lazily evaluated statics in Rust.
60
lazy-static-include
stablev4.0.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 | 74 | 72 | 60 |
| Total Downloads | 44.5M | 1.0B | 365.4K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 5.0K | 183.7K | 144 |
| Releases | 34 | 39 | 35 |
| Last Updated | 7d ago | 9d ago | 70d ago |
| Age | 7y | 11y 10m | 8y 1m |
Health Breakdown
lazy-regex
Maintenance
18
Quality
22
Community
14
Popularity
8
Documentation
12
lazy_static
Maintenance
17
Quality
21
Community
15
Popularity
8
Documentation
11
lazy-static-include
Maintenance
14
Quality
15
Community
12
Popularity
7
Documentation
12
Technical Details
| lazy-regex | lazy_static | lazy-static-include | |
|---|---|---|---|
| Version | 3.6.2 | 1.5.1 | 4.0.1 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✓ Yes |
| License | MIT | MIT OR Apache-2.0 | MIT |
| Dependencies | 4 | 3 | 6 |
| Crate Size | 12KB | 14KB | 6KB |
| Features | 16 | 1 | 0 |
| Yanked % | 2.9% | 0.0% | 11.4% |
| Edition | 2021 | — | 2024 |
| MSRV | 1.71 | — | 1.85 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •lazy-regex leads with a health score of 74/100, but none of the options score above 80.
- •lazy_static has the most downloads (1.0B), suggesting wider adoption.
- •lazy_static is depended on by 183.7K crates — strongest ecosystem trust.