rustio rustio.net

thread_local vs lazy_thread_local vs ref_thread_local

Side-by-side comparison of Rust crates

Core Metrics

thread_locallazy_thread_localref_thread_local
Health Score643749
Total Downloads743.2M4.9K374.1K
30d Downloads000
Dependents3.6K0227
Releases2933
Last Updated91d ago942d ago1788d ago
Age10y 6m2y 11m8y

Health Breakdown

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

Technical Details

thread_locallazy_thread_localref_thread_local
Version1.1.100.1.20.1.1
Stable (≥1.0)✓ Yes✗ No✗ No
LicenseMIT OR Apache-2.0MITMIT
Dependencies130
Crate Size16KB5KB8KB
Features100
Yanked %6.9%33.3%0.0%
Edition20212021—
MSRV1.63——
Owners111

Quick Verdict

  • •thread_local leads with a health score of 64/100, but none of the options score above 80.
  • •thread_local is depended on by 3.6K 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.