Skip to content

bytestring: v1.6.0

Choose a tag to compare

@robjtede robjtede released this 10 Nov 03:01
· 27 commits to main since this release
Immutable release. Only release title and notes can be modified.
d8ae9bd
  • Add ByteString::from_owner() constructor to preserve existing allocations.
  • Add ByteString::from_utf8() constructor to recover bytes when UTF-8 conversion fails.
  • Add ByteString::slice() method.
  • Add ByteString::{split_to, split_off}() methods
  • Add ByteString::{truncate, advance}() methods.
  • Add ByteString::as_str() method.
  • Add #[must_use] to ByteString methods
  • Add #[inline] to small methods and trait implementations.
  • Minimum supported Rust version (MSRV) is now 1.89.