- Relax
abi_stable
version bounds.
- Add
lazy_static
support as it's a fairly similar implementation.
- Improve performance by using
std::thread_local!
to store the reference.
- Use RefCell instead of RwLock (unnecessary).
- Automatically set the initial tls function for hosts.
- Add
Context::reset()
function to reset thread-local variables for the current thread.
- Change
Context::new()
toContext::get()
. - Fix soundness bug in
initialize
. - Move
initialize
to be a method ofContext
and rename asinitialize_tls
to clarify intent.
- Allow type inference in initializer of
thread_local!
. - Add
with
implementation that panics if neitherhost
norplugin
features are enabled. - Allow both
host
andplugin
to be enabled together.
- Initial release.