Install
thread_local
Per-object thread-local storage
1.1.10Latest, 10 Jul 2026
23MDownloads, last 90 days
0Advisories on the latest
2Advisories, all versions
MIT OR Apache-2.0Licence
376Stars
4.6/10OpenSSF Scorecard
Source · Ask AI Mode · · Markdown
Known advisories
| Severity | Advisory | Fix | Published |
|---|---|---|---|
| High | Data race in `Iter` and `IterMut` GHSA-9hpw-r23r-xgm5 | Fixed in 1.1.4 | 17 Jun 2022 |
| Data race in `Iter` and `IterMut` RUSTSEC-2022-0006 | Fixed in 1.1.4 | 23 Jan 2022 |
In the news
- How to save numpy.ndarray in static or thread local variable in python extension written in Rust with PyO3? stackoverflow.com, 31 May 2024
On Hacker News
- 0+0 > 0: C++ thread-local storage performance 155 points, 96 comments, 17 Feb 2025
- Making our own executable packer, part 13, Thread-local storage 58 points, 23 comments, 25 Jun 2020
- All about thread-local storage 50 points, 10 comments, 16 Feb 2021
- A deep dive into implicit thread-local storage (2018) 50 points, 6 comments, 2 Jun 2024
Sources: crates.io, deps.dev (CC BY 4.0), OSV. Last checked 3 Dec 2026.