Releases: dylni/os_str_bytes
Releases · dylni/os_str_bytes
7.0.0
7.0.0-beta.0
- Added:
OsStrBytes::from_io_bytes
OsStrBytes::to_io_bytes
OsStrBytes::to_io_bytes_lossy
OsStrBytesExt::get_unchecked
OsStrBytesExt::index
OsStrBytesExt::repeat
OsStrBytesExt::rsplit
OsStrBytesExt::split
OsStrBytesExt::utf8_chunks
OsStringBytes::from_io_vec
OsStringBytes::into_io_vec
OsStringBytes::into_io_vec_lossy
RawOsStr::get_unchecked
RawOsStr::repeat
RawOsStr::rsplit
RawOsStr::utf8_chunks
- Added unstable support for UEFI targets
- Added compile errors for useless feature combinations
- Updated methods without the "conversions" feature to no longer require expensive conversions for any target (including Windows)
- Updated the signatures of
RawOsStr::new
andRawOsString::new
to accept more types - Removed the "nightly" feature and enabled it by default
- Removed
DoubleEndedIterator
implementations forSplit
andRawSplit
- Removed the
Eq
implementation forEncodingError
- Removed implementations for traits from crates print_bytes and uniquote
- These crates will optionally implement their traits for structs from this crate instead.
- Removed deprecated items
- Removed the crate name ("os_str_bytes") from the output of the
Display
implementation forEncodingError
on remaining platforms - Increased the minimum supported Rust toolchain version to 1.74.0
6.6.1
6.6.0
- Added:
OsStrBytesExt
RawOsStr::as_encoded_bytes
RawOsStr::from_encoded_bytes_unchecked
RawOsStrCow::from_os_str
RawOsString::from_encoded_vec_unchecked
RawOsString::into_encoded_vec
- additional
AsRef
,From
,PartialEq
trait implementations forRawOsStr
andRawOsString
- Added a "nightly" feature to use the "os_str_bytes" nightly feature
- Read the documentation carefully. This is an experimental and unstable feature.
- Added a "conversions" feature for methods that may be expensive
- Updated indexing to validate bounds on all platforms, even when unnecessary
- This change is not breaking. Invalid indices have always been discouraged, and the "nightly" feature must be enabled for this increased validation to occur.
- Deprecated items to prepare for the next major version
- Increased the minimum supported Rust toolchain version to 1.61.0
6.5.1
6.5.0
6.4.1
6.4.0
6.3.1
6.3.0
- Added:
OsStrBytes::assert_from_raw_bytes
OsStringBytes::assert_from_raw_vec
RawOsStr::assert_from_raw_bytes
RawOsStr::from_raw_bytes
RawOsStr::from_raw_bytes_unchecked
RawOsStr::trim_matches
RawOsStrCow
RawOsString::assert_from_raw_vec
RawOsString::clear
RawOsString::from_raw_vec
RawOsString::from_raw_vec_unchecked
RawOsString::shrink_to_fit
RawOsString::split_off
RawOsString::truncate
- Added a "checked_conversions" feature for methods that should be avoided
- Deprecated using
OsStrBytes::from_raw_bytes
andOsStringBytes::from_raw_vec
without the "checked_conversions" feature