6 releases (3 stable)
Uses new Rust 2024
new 1.0.3 | Apr 25, 2025 |
---|---|
1.0.2 |
|
1.0.1 | Feb 5, 2025 |
0.1.0 | Dec 31, 2024 |
0.0.2 | Dec 30, 2024 |
#323 in Concurrency
217 downloads per month
25KB
476 lines
thread_map
This library provides types that support thread-local values by associating ThreadId
s to the values. It is a simple and easy-to-use alternative to the std::thread_local
macro and the thread_local
crate.
It has no dependencies.
Documentation
See the API documentation on docs.rs, which includes an overview and usage examples, and the source repo.
Support
Create a new issue on GitHub.
License
This library is distributed under the terms of the MIT license, with copyright retained by the author.
See LICENSE for details.