chao
chao copied to clipboard
Bump ascii from 0.9.1 to 0.9.3
Bumps ascii from 0.9.1 to 0.9.3.
Changelog
Sourced from ascii's changelog.
Version 0.9.3 (2019-08-26)
Soundness fix:
Remove unsound impls of
From<&mut AsciiStr>for&mut [u8]and&mut str. This is a breaking change, but theese impls can lead to undefined behavior in safe code.If you use this impl and know that non-ASCII values are never inserted into the
[u8]orstr, you can pin ascii to 0.9.2.Other changes:
- Make quickcheck
Arbitraryimpl sometimes produceAsciiChar::DEL.- Implement
Clone,CopyandEqforToAsciiCharError.- Implement
ToAsciiCharforu16,u32andi8.Version 0.9.2 (2019-07-07)
- Implement the
IntoAsciiStringtrait forstd::ffi::CStrandstd::ffi::CStringtypes, and implemented theAsAsciiStrtrait forstd::ffi::CStrtype.- Implement the
IntoAsciiStringforstd::borrow::Cow, where the inner types themselves implementIntoAsciiString.- Implement conversions between
AsciiStringandCow<'a, AsciiStr>.- Implement the
std::ops::AddAssigntrait forAsciiString.- Implement
BorrowMut<AsciiStr>,AsRef<[AsciiChar]>,AsRef<str>,AsMut<[AsciiChar]>forAsciiString.- Implement
PartialEq<[u8]>andPartialEq<[AsciiChar]>forAsciiStr.- Add
AsciiStr::first(),AsciiStr::last()andAsciiStr::split()methods.- Implement
DoubleEndedIteratorforAsciiStr::lines().- Implement
AsRef<AsciiStr>andAsMut<AsciiStrfor[AsciiChar].- Implement
DefaultforAsciiChar.
Commits
a0dde1fVersion 0.9.37df0dceMention CString & CStr as #![no_std] difference in READMEdc7e073Remove unsound trait impls828f954Implement ToAsciiChar for i8, u16 and u321d6793bImplement Clone, Copy and Eq for ToAsciiCharError509c167Test optional dependencies on Travis8db4597Remove no_std docs linkefb6e59Fix quickcheck Arbitrary impl never generating DEL4f3098cRelease version 0.9.2ed08a07Change documentation links to docs.rs- Additional commits viewable in compare view
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 rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) -
@dependabot use these labelswill set the current labels as the default for future PRs for this repo and language -
@dependabot use these reviewerswill set the current reviewers as the default for future PRs for this repo and language -
@dependabot use these assigneeswill set the current assignees as the default for future PRs for this repo and language -
@dependabot use this milestonewill set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the Security Alerts page.