Skip to content

v0.6.0

Compare
Choose a tag to compare
@carllerche carllerche released this 20 Oct 23:09
· 119 commits to master since this release
b7f7582

API polish in preparation for a 1.0 release.

Changed

  • BufMut is now an unsafe trait (#432).
  • BufMut::bytes_mut() returns &mut UninitSlice, a type owned by bytes to
    avoid undefined behavior (#433).
  • Buf::copy_to_bytes(len) replaces Buf::into_bytes() (#439).
  • Buf/BufMut utility methods are moved onto the trait and *Ext traits are
    removed (#431).

Removed

  • BufMut::bytes_vectored_mut() (#430).
  • new methods on combinator types (#434).