Decision Workspace
lazy_fn vs lazy-regex vs lazy_static
Side-by-side comparison of Rust crates
45
lazy_fn
growingv1.0.2
lazy_static for functions!
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.
Core Metrics
| lazy_fn | lazy-regex | lazy_static | |
|---|---|---|---|
| Health Score | 45 | 69 | 66 |
| Total Downloads | 6.1K | 32.2M | 754.6M |
| 30d Downloads | 0 | 2.2M | 53.0M |
| Dependents | 0 | 4.5K | 173.5K |
| Releases | 3 | 32 | 38 |
| Last Updated | 1155d ago | 103d ago | 703d ago |
| Age | 4y | 6y 7m | 11y 6m |
Health Breakdown
lazy_fn
Maintenance
4
Quality
20
Community
6
Popularity
5
Documentation
10
lazy-regex
Maintenance
13
Quality
22
Community
14
Popularity
8
Documentation
12
lazy_static
Maintenance
6
Quality
21
Community
20
Popularity
8
Documentation
11
Technical Details
| lazy_fn | lazy-regex | lazy_static | |
|---|---|---|---|
| Version | 1.0.2 | 3.6.0 | 1.5.0 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT | MIT OR Apache-2.0 |
| Dependencies | 3 | 4 | 3 |
| Crate Size | 7KB | 11KB | 14KB |
| Features | 0 | 16 | 1 |
| Yanked % | 0.0% | 3.1% | 0.0% |
| Edition | 2021 | 2021 | — |
| MSRV | — | 1.71 | — |
| Owners | 1 | 1 | 2 (team) |
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_fn, lazy_static have not been updated in over a year.