Update Rust crate base64 to 0.22.0 - autoclosed
Compare changes
Some changes are not shown
For a faster browsing experience, some files are collapsed by default.
Files
3+ 1
− 1
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
base64 | dependencies | minor |
0.21.0 -> 0.22.0
|
v0.22.1
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 that Engine::decode_slice
can now be used with exactly-sized output slices. As part of this, Engine::internal_decode
now returns DecodeSliceError
instead of DecodeError
, 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 either InvalidLength
or InvalidByte
being appropriate.This MR has been generated by Renovate Bot.
For a faster browsing experience, some files are collapsed by default.