rustio rustio.net

once_cell vs lazy-regex vs lazy_static

Side-by-side comparison of Rust crates

Core Metrics

once_celllazy-regexlazy_static
Health Score687472
Total Downloads1.3B44.5M1.0B
30d Downloads000
Dependents197.6K5.0K183.7K
Releases673439
Last Updated211d ago7d ago9d ago
Age8y 2m7y11y 10m

Health Breakdown

once_cell
Maintenance
11
Quality
18
Community
16
Popularity
8
Documentation
15
lazy-regex
Maintenance
18
Quality
22
Community
14
Popularity
8
Documentation
12
lazy_static
Maintenance
17
Quality
21
Community
15
Popularity
8
Documentation
11

Technical Details

once_celllazy-regexlazy_static
Version1.21.43.6.21.5.1
Stable (≥1.0)✓ Yes✓ Yes✓ Yes
LicenseMIT OR Apache-2.0MITMIT OR Apache-2.0
Dependencies543
Crate Size35KB12KB14KB
Features9161
Yanked %11.9%2.9%0.0%
Edition20212021—
MSRV1.651.71—
Owners211

Quick Verdict

  • •lazy-regex leads with a health score of 74/100, but none of the options score above 80.
  • •once_cell has the most downloads (1.3B), suggesting wider adoption.
  • •once_cell is depended on by 197.6K crates — strongest ecosystem trust.