widestring breaking changes

cargo

13 curated breaking changes across major versions of widestring. Use this as a migration checklist before bumping dependencies.

13
changes
Breaking changes by transition
  • v0.5.1 \u2192 v1.0.0-beta.1breaking

    `insert` is now `insert_char`

  • v0.5.1 \u2192 v1.0.0-beta.1breaking

    **Breaking Change** Moved and renamed the following iterator types:

  • v0.5.1 \u2192 v1.0.0-beta.1breaking

    **Breaking Change** The following methods on `U16String` and `U32String` have been renamed and replaced by functions with different semantics:

  • v0.5.1 \u2192 v1.0.0-beta.1breaking

    `pop` is now `pop_char`

  • v0.5.1 \u2192 v1.0.0-beta.1breaking

    `remove` is now `remove_char`

  • v1.0.0-beta.1 \u2192 v1.0.0breaking

    Added `#[must_use]` attributes to many crate functions, as appropriate.

  • v1.0.0-beta.1 \u2192 v1.0.0breaking

    Remove `unsafe` qualifiers from `as_mut_ptr` and `as_mut_ptr_range` to match standard library. By @yescallop.

  • v0.4.2 \u2192 v0.5.0breaking

    `MissingNulError` => `error::MissingNulTerminator`

  • v0.4.2 \u2192 v0.5.0breaking

    `FromUtf32Error` => `error::FromUtf32Error`

  • v0.4.2 \u2192 v0.5.0breaking

    `NulError` => `error::ContainsNul`

  • v0.4.2 \u2192 v0.5.0breaking

    `UCStr::from_ptr_with_nul` => `from_ptr_unchecked`

  • v0.4.2 \u2192 v0.5.0breaking

    `UCStr::from_slice_with_nul` => `from_slice_truncate`

  • v0.3.0 \u2192 v0.4.0breaking

    **Breaking Change** `WideString`, `WideStr`, `WideCString`, and `WideCStr` are now type aliases that vary between platforms. On Windows, these are aliases to the `U16` types and are equivalent to the previous version, but on non-Windows platforms these alias the new `U32` types instead. See crate documentation for more details.

API access

Get this data programmatically \u2014 free, no authentication.

curl https://depscope.dev/api/breaking/cargo/widestring
widestring breaking changes — Cargo migration guide | DepScope