A macro for declaring thread-local
statics like using both of
Using this macro, you can have thread-local
statics be referenced by
like using a
You may also initialize or destroy a
static variable at any time you like.
ref_thread_local.rs is available on crates.io. It is recommended to look there for the newest released version, as well as links to the newest builds of the docs.
At the point of the last update of this README, the latest published version could be used like this:
Add the following dependency to your Cargo manifest...
...and see the docs for how to use it.
extern crate ref_thread_local;
Licensed under of