Skip to content

Releases: ratel-rust/toolshed

v0.8

09 Dec 17:05
0289dd4
Compare
Choose a tag to compare
  • 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 uses Option<NonZeroUsize> internally instead of usize, to make it clearer that zero values are mapping to empty lists.

v0.6

12 Nov 13:08
e42cd8c
Compare
Choose a tag to compare
  • Introduced a new NulTermStr that is a more explicit wrapper for what used to be *const u8 returned by Arena::alloc_str_with_nul().

BREAKING CHANGES:

  • Arena::alloc_str_with_nul() has been renamed to Arena::alloc_nul_term_str().
  • Uninitialized::into_mut() has been renamed to Uninitialized::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; or use toolshed::cell::CopyCell;. Instead just use toolshed::Arena; or use toolshed::CopyCell;.

v0.5

12 Nov 13:01
Compare
Choose a tag to compare
cows and vecs