Releases: ratel-rust/toolshed
Releases · ratel-rust/toolshed
v0.8
- Updated to Rust 2018.
- Removed
CopyCell::get_mut
. Seems unnecessary given how the crate is being used. If this causes issues for you, please file an issue. UnsafeList
now usesOption<NonZeroUsize>
internally instead ofusize
, to make it clearer that zero values are mapping to empty lists.
v0.6
- Introduced a new
NulTermStr
that is a more explicit wrapper for what used to be*const u8
returned byArena::alloc_str_with_nul()
.
BREAKING CHANGES:
Arena::alloc_str_with_nul()
has been renamed toArena::alloc_nul_term_str()
.Uninitialized::into_mut()
has been renamed toUninitialized::as_mut_ref()
to be more consistent.Uninitialized::init()
now returns&mut T
instead of&T
. Use&*
to convert it back to&T
.Arena::alloc()
now returns&mut T
instead of&T
. Use&*
to convert it back to&T
.- It's no longer possible to
use toolshed::arena::Arena;
oruse toolshed::cell::CopyCell;
. Instead justuse toolshed::Arena;
oruse toolshed::CopyCell;
.
v0.5
cows and vecs