#scoped #tls #ssl #thread #macro #local

scoped-tls

Library implementation of the standard library’s old scoped_thread_local! macro for providing scoped access to thread local storage (TLS) so any type can be stored into TLS

3 releases

0.1.2 May 3, 2018
0.1.1 Mar 3, 2018
0.1.0 Mar 23, 2016

#20 in Rust patterns

Download history 25234/week @ 2018-10-24 24383/week @ 2018-10-31 25892/week @ 2018-11-07 25754/week @ 2018-11-14 22458/week @ 2018-11-21 26787/week @ 2018-11-28 27640/week @ 2018-12-05 27966/week @ 2018-12-12 20548/week @ 2018-12-19 16838/week @ 2018-12-26 22854/week @ 2019-01-02 24134/week @ 2019-01-09 22912/week @ 2019-01-16 24966/week @ 2019-01-23 23945/week @ 2019-01-30

102,856 downloads per month
Used in 998 crates (14 directly)

MIT/Apache

10KB
140 lines

scoped-tls

Build Status Build status

Documentation

A Rust library providing the old standard library's scoped_thread_local! macro as a library implementation on crates.io.

# Cargo.toml
[dependencies]
scoped-tls = "0.1"

License

This project is licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in Serde by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

No runtime deps