Reduce collision potential for macros. By @OpenByteDev.
1.0.0
Changed
Breaking Change Minimum supported Rust version is now 1.58.
Added #[must_use] attributes to many crate functions, as appropriate.
Remove unsafe qualifiers from as_mut_ptr and as_mut_ptr_range to match standard library. By @yescallop.
Added
Added new function that creates and empty string to U16CString and U32CString to match other string types.
Additional From implementations for conversion to OsString.
Also see the changes in 1.0.0-beta.1 if upgrading from 0.5.1 or earlier.
1.0.0-beta.1
Changed
Breaking Change Minimum supported Rust version is now 1.56.
Breaking Change The following methods on U16String and U32String have been renamed and replaced by functions with different semantics:
pop is now pop_char
remove is now remove_char
insert is now insert_char
Breaking Change Moved and renamed the following iterator types:
iter::Utf16Chars renamed to CharsUtf16 and moved to ustr and ucstr
iter::Utf32Chars renamed to CharsUtf32 and moved to ustr and ucstr
iter::CharsLossy split and renamed to CharsLossyUtf16 and CharsLossyUtf32 and moved to ustr and ucstr
iter::Utf16CharIndices renamed to CharIndicesUtf16 and moved to ustr and ucstr
iter::Utf16CharIndicesLossy renamed to CharIndicesLossyUtf16 and moved to ustr and ucstr
Breaking Changeerror::FromUtf16Error and error::FromUtf32Error has been renamed to Utf16Error and Utf32Error respectively and expanded with more details about the error.
Migrated crate to Rust 2021 edition.
The following methods on U16Str and U32Str are now const:
from_slice
as_slice
as_ptr
len
is_empty
The following methods on U16CStr and U32CStr are now const:
from_slice_unchecked
as_slice_with_nul
as_ptr
len
is_empty
The following methods on U16String and U32String are now const:
new
Added
Added new UTF-encoded string types and associated types:
Reduce collision potential for macros. By [@OpenByteDev].
[1.0.0] - 2022-06-21
Changed
Breaking Change Minimum supported Rust version is now 1.58.
Added #[must_use] attributes to many crate functions, as appropriate.
Remove unsafe qualifiers from as_mut_ptr and as_mut_ptr_range to match standard library. By
[@yescallop].
Added
Added new function that creates and empty string to U16CString and U32CString to match other
string types.
Additional From implementations for conversion to OsString.
[1.0.0-beta.1] - 2021-11-08
Changed
Breaking Change Minimum supported Rust version is now 1.56.
Breaking Change The following methods on U16String and U32String have been renamed and
replaced by functions with different semantics:
pop is now pop_char
remove is now remove_char
insert is now insert_char
Breaking Change Moved and renamed the following iterator types:
iter::Utf16Chars renamed to CharsUtf16 and moved to ustr and ucstr
iter::Utf32Chars renamed to CharsUtf32 and moved to ustr and ucstr
iter::CharsLossy split and renamed to CharsLossyUtf16 and CharsLossyUtf32 and moved to
ustr and ucstr
iter::Utf16CharIndices renamed to CharIndicesUtf16 and moved to ustr and ucstr
iter::Utf16CharIndicesLossy renamed to CharIndicesLossyUtf16 and moved to ustr and ucstr
Breaking Changeerror::FromUtf16Error and error::FromUtf32Error has been renamed to
Utf16Error and Utf32Error respectively and expanded with more details about the error.
Migrated crate to Rust 2021 edition.
The following methods on U16Str and U32Str are now const:
from_slice
as_slice
as_ptr
len
is_empty
The following methods on U16CStr and U32CStr are now const:
from_slice_unchecked
as_slice_with_nul
as_ptr
len
is_empty
The following methods on U16String and U32String are now const:
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps widestring from 0.5.1 to 1.0.1.
Release notes
Sourced from widestring's releases.
... (truncated)
Changelog
Sourced from widestring's changelog.
... (truncated)
Commits
0f2e403
bump version to 1.0.121aef68
Merge pull request #27 from OpenByteDev/maine084b5c
Add prefix to local variables in macros7b735ff
Use fully qualified type names in macros352a269
bump version to 1.0.0 for release10990cc
add miri test workflow action624b1d7
Merge pull request #26 from yescallop/maince34973
Update utfstr.rs2df64cb
Update ucstr.rsdd8c337
added #[must_use] attributesDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)