rustio rustio.net

lazy_thread_local vs thread_local vs ref_thread_local

Side-by-side comparison of Rust crates

Core Metrics

lazy_thread_localthread_localref_thread_local
Health Score375949
Total Downloads4.7K432.2M320.3K
30d Downloads1831.3M11.9K
Dependents02.8K227
Releases3283
Last Updated746d ago288d ago1592d ago
Age2y 4m9y 11m7y 5m

Health Breakdown

lazy_thread_local
Maintenance
5
Quality
9
Community
6
Popularity
4
Documentation
13
thread_local
Maintenance
6
Quality
18
Community
12
Popularity
8
Documentation
15
ref_thread_local
Maintenance
3
Quality
16
Community
12
Popularity
7
Documentation
11

Technical Details

lazy_thread_localthread_localref_thread_local
Version0.1.21.1.90.1.1
Stable (≥1.0)✗ No✓ Yes✗ No
LicenseMITMIT OR Apache-2.0MIT
Dependencies320
Crate Size5KB19KB8KB
Features010
Yanked %33.3%7.1%0.0%
Edition20212021
MSRV1.63
Owners111

Quick Verdict

  • thread_local leads with a health score of 59/100, but none of the options score above 80.
  • thread_local is depended on by 2.8K crates — strongest ecosystem trust.
  • ⚠ lazy_thread_local, ref_thread_local have not been updated in over a year.
  • lazy_thread_local, ref_thread_local are pre-1.0 — API may change.