• Home
Name Date Size #Lines LOC

..--

.github/workflows/06-Sep-2024-1714

benches/06-Sep-2024-2621

src/06-Sep-2024-1,075743

.cargo_vcs_info.jsonD06-Sep-202494 66

.gitignoreD06-Sep-202418 32

Android.bpD06-Sep-20242.4 KiB8176

Cargo.tomlD06-Sep-20241.1 KiB4638

Cargo.toml.origD06-Sep-2024735 3125

LICENSED06-Sep-202410.6 KiB202169

LICENSE-APACHED06-Sep-202410.6 KiB202169

LICENSE-MITD06-Sep-20241 KiB2622

METADATAD06-Sep-2024632 2422

MODULE_LICENSE_APACHE2D06-Sep-20240

OWNERSD06-Sep-202440 21

README.mdD06-Sep-20241.2 KiB4025

TEST_MAPPINGD06-Sep-2024235 1413

cargo_embargo.jsonD06-Sep-202442 54

README.md

1thread_local
2============
3
4[![Build Status](https://travis-ci.org/Amanieu/thread_local-rs.svg?branch=master)](https://travis-ci.org/Amanieu/thread_local-rs) [![Crates.io](https://img.shields.io/crates/v/thread_local.svg)](https://crates.io/crates/thread_local)
5
6This library provides the `ThreadLocal` type which allow a separate copy of an
7object to be used for each thread. This allows for per-object thread-local
8storage, unlike the standard library's `thread_local!` macro which only allows
9static thread-local storage.
10
11[Documentation](https://docs.rs/thread_local/)
12
13## Usage
14
15Add this to your `Cargo.toml`:
16
17```toml
18[dependencies]
19thread_local = "1.1"
20```
21
22## Minimum Rust version
23
24This crate's minimum supported Rust version (MSRV) is 1.59.0.
25
26## License
27
28Licensed under either of
29
30 * Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
31 * MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)
32
33at your option.
34
35### Contribution
36
37Unless you explicitly state otherwise, any contribution intentionally submitted
38for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any
39additional terms or conditions.
40