threshold-OPAQUE
threshold-OPAQUE copied to clipboard
Update base64 requirement from 0.10.1 to 0.13.0
Updates the requirements on base64 to permit the latest version.
Changelog
Sourced from base64's changelog.
0.13.0
- Config methods are const
- Added
EncoderStringWriterto allow encoding directly to a StringEncoderWriternow owns its delegate writer rather than keeping a reference to it (though refs still work)
- As a consequence, it is now possible to extract the delegate writer from an
EncoderWriterviafinish(), which returnsResult<W>instead ofResult<()>. If you were callingfinish()explicitly, you will now need to uselet _ = foo.finish()instead of justfoo.finish()to avoid a warning about the unused value.- When decoding input that has both an invalid length and an invalid symbol as the last byte,
InvalidBytewill be emitted instead ofInvalidLengthto make the problem more obvious.0.12.2
- Add
BinHexalphabet0.12.1
- Add
Bcryptalphabet0.12.0
- A
Readimplementation (DecoderReader) to let users transparently decoded data from a b64 input source- IMAP's modified b64 alphabet
- Relaxed type restrictions to just
AsRef<[ut8]>for mainencode*/decode*functions- A minor performance improvement in encoding
0.11.0
- Minimum rust version 1.34.0
no_stdis now supported via the two new featuresallocandstd.0.10.1
- Minimum rust version 1.27.2
- Fix bug in streaming encoding (#90): if the underlying writer didn't write all the bytes given to it, the remaining bytes would not be retried later. See the docs on
EncoderWriter::write.- Make it configurable whether or not to return an error when decoding detects excess trailing bits.
0.10.0
- Remove line wrapping. Line wrapping was never a great conceptual fit in this library, and other features (streaming encoding, etc) either couldn't support it or could support only special cases of it with a great increase in complexity. Line wrapping has been pulled out into a line-wrap crate, so it's still available if you need it.
Base64Displaycreation no longer uses aResultbecause it can't fail, which means its helper methods for common configs thatunwrap()for you are no longer needed- Add a streaming encoder
Writeimpl to transparently base64 as you write.- Remove the remaining
unsafecode.- Remove whitespace stripping to simplify
no_stdsupport. No out of the box configs use it, and it's trivial to do yourself if needed:filter(|b| !b" \n\t\r\x0b\x0c".contains(b).- Detect invalid trailing symbols when decoding and return an error rather than silently ignoring them.
0.9.3
- Update safemem
0.9.2
- Derive
CloneforDecodeError.
Commits
b4fc913v0.13.0bba4c5dMerge pull request #145 from marshallpierce/mp/cleanup4296732Add docs and other cleanup6bb3556Merge pull request #144 from untitaker/invalid-bytes-not-length5b40e0cMerge pull request #142 from marshallpierce/mp/string-writer8b1ae22Rename StrWrite to StrConsumer27ccb65fix testsd15cd38Give better error messages when decoding data with trailing newlines5a56885Introduce StrWriter to allow ESW to wrap both a String and a &mut String2dc0296Merge pull request #143 from marshallpierce/mp/invalid-length-doc- 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@dependabot badge mewill comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot dashboard:
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)