Update Rust crate base64 to 0.22.0 - autoclosed
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
base64 | dependencies | minor |
0.21.0 -> 0.22.0
|
Release Notes
marshallpierce/rust-base64 (base64)
v0.22.1
- Correct the symbols used for the predefined
alphabet::BIN_HEX
.
v0.22.0
-
DecodeSliceError::OutputSliceTooSmall
is now conservative rather than precise. That is, the error will only occur if the decoded output cannot fit, meaning thatEngine::decode_slice
can now be used with exactly-sized output slices. As part of this,Engine::internal_decode
now returnsDecodeSliceError
instead ofDecodeError
, but that is not expected to affect any external callers. -
DecodeError::InvalidLength
now refers specifically to the number of valid symbols being invalid (i.e.len % 4 == 1
), rather than just the number of input bytes. This avoids confusing scenarios when based on interpretation you could make a case for eitherInvalidLength
orInvalidByte
being appropriate. - Decoding is somewhat faster (5-10%)
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.