rustio rustio.net

ref_thread_local vs lazy-regex vs lazy_static

Side-by-side comparison of Rust crates

Core Metrics

ref_thread_locallazy-regexlazy_static
Health Score496766
Total Downloads352.3K35.9M843.6M
30d Downloads4.0K1.3M33.0M
Dependents2274.7K177.4K
Releases33238
Last Updated1700d ago152d ago752d ago
Age7y 9m6y 9m11y 7m

Health Breakdown

ref_thread_local
Maintenance
3
Quality
16
Community
12
Popularity
7
Documentation
11
lazy-regex
Maintenance
11
Quality
22
Community
14
Popularity
8
Documentation
12
lazy_static
Maintenance
6
Quality
21
Community
20
Popularity
8
Documentation
11

Technical Details

ref_thread_locallazy-regexlazy_static
Version0.1.13.6.01.5.0
Stable (≥1.0)✗ No✓ Yes✓ Yes
LicenseMITMITMIT OR Apache-2.0
Dependencies043
Crate Size8KB11KB14KB
Features0161
Yanked %0.0%3.1%0.0%
Edition2021
MSRV1.71
Owners112 (team)

Quick Verdict

  • lazy-regex leads with a health score of 67/100, but none of the options score above 80.
  • lazy_static has the most downloads (843.6M), suggesting wider adoption.
  • lazy_static is depended on by 177.4K crates — strongest ecosystem trust.
  • ⚠ ref_thread_local, lazy_static have not been updated in over a year.
  • ref_thread_local is pre-1.0 — API may change.