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 Score757166
Total Downloads782.7M28.1M660.2M
30d Downloads52.5M2.5M40.8M
Dependents162.5K4.3K168.7K
Releases673238
Last Updated15d ago44d ago644d ago
Age7y 8m6y 5m11y 4m

Health Breakdown

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

Technical Details

once_celllazy-regexlazy_static
Version1.21.43.6.01.5.0
Stable (≥1.0)✓ Yes✓ Yes✓ Yes
LicenseMIT OR Apache-2.0MITMIT OR Apache-2.0
Dependencies543
Crate Size35KB11KB14KB
Features9161
Yanked %11.9%3.1%0.0%
Edition20212021
MSRV1.651.71
Owners212 (team)

Quick Verdict

  • once_cell leads with a health score of 75/100, but none of the options score above 80.
  • lazy_static is depended on by 168.7K crates — strongest ecosystem trust.
  • ⚠ lazy_static has not been updated in over a year.