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 Score497166
Total Downloads320.3K28.1M660.2M
30d Downloads12.2K2.5M40.8M
Dependents2274.3K168.7K
Releases33238
Last Updated1592d ago44d ago644d ago
Age7y 5m6y 5m11y 4m

Health Breakdown

ref_thread_local
Maintenance
3
Quality
16
Community
12
Popularity
7
Documentation
11
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

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 71/100, but none of the options score above 80.
  • lazy_static has the most downloads (660.2M), suggesting wider adoption.
  • lazy_static is depended on by 168.7K 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.