rustio rustio.net

thread_local vs lazy_thread_local vs dropping-thread-local

Side-by-side comparison of Rust crates

Core Metrics

thread_locallazy_thread_localdropping-thread-local
Health Score593750
Total Downloads432.2M4.7K2.2K
30d Downloads31.3M189
Dependents2.8K00
Releases2837
Last Updated288d ago746d ago73d ago
Age9y 11m2y 4m8m

Health Breakdown

thread_local
Maintenance
6
Quality
18
Community
12
Popularity
8
Documentation
15
lazy_thread_local
Maintenance
5
Quality
9
Community
6
Popularity
4
Documentation
13
dropping-thread-local
Maintenance
15
Quality
13
Community
6
Popularity
4
Documentation
12

Technical Details

thread_locallazy_thread_localdropping-thread-local
Version1.1.90.1.20.1.5
Stable (≥1.0)✓ Yes✗ No✗ No
LicenseMIT OR Apache-2.0MITApache-2.0 OR MIT
Dependencies238
Crate Size19KB5KB22KB
Features101
Yanked %7.1%33.3%0.0%
Edition202120212024
MSRV1.631.85
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 has not been updated in over a year.
  • lazy_thread_local, dropping-thread-local are pre-1.0 — API may change.