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 Score376449
Total Downloads4.9K743.2M374.1K
30d Downloads000
Dependents03.6K227
Releases3293
Last Updated942d ago91d ago1788d ago
Age2y 11m10y 6m8y

Health Breakdown

lazy_thread_local
Maintenance
5
Quality
9
Community
6
Popularity
4
Documentation
13
thread_local
Maintenance
11
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.100.1.1
Stable (≥1.0)✗ No✓ Yes✗ No
LicenseMITMIT OR Apache-2.0MIT
Dependencies310
Crate Size5KB16KB8KB
Features010
Yanked %33.3%6.9%0.0%
Edition20212021—
MSRV—1.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.