Skip to content

0.3.0

Choose a tag to compare

@VoidStarKat VoidStarKat released this 17 Mar 22:59

Added

  • Additional unchecked functions on WideCString.
  • All types now implement Default.
  • WideString::shrink_to_fit
  • WideString::into_boxed_wide_str and Box<WideStr>::into_wide_string.
  • WideCString::into_boxed_wide_c_str and Box<WideCStr>::into_wide_c_string.
  • From and Default implementations for boxed WideStr and boxed WideCStr.

Changed

  • Renamed WideCString::from_vec to replace WideCString::new. To create empty string, use
    WideCString::default() now.
  • WideCString now implements Drop, which sets the string to an empty string to prevent invalid
    unsafe code from working correctly when it should otherwise break. Also see Drop implementation
    of CString.
  • Writing changelog manually.
  • Upgraded winapi dev dependency.
  • Now requires at least Rust 1.17+ to compile (previously, was Rust 1.8).