All notable changes to similar are documented here.
Fragile
no longer boxes internally.Sticky
andSemiSticky
now require the use of stack tokens. For more information see #26
- Fixed non slab versions only allowing a single sticky.
Note on safety: the Sticky
and SemiSticky
types allow data to live
longer than the wrapper type which is why they are now requiring a 'static
bound. Previously it was possible to create a sticky containing a bare
reference which permitted unsafe access.
Sticky
now requires'static
.- Added the
slab
feature for an internal optimization forSticky
to use a slab instead of aHashMap
.
Older releases were yanked due to the insufficient trait bound on Sticky
.