Sourced from base64's changelog.
0.22.1
- Correct the symbols used for the predefined
alphabet::BIN_HEX.0.22.0
DecodeSliceError::OutputSliceTooSmallis now conservative rather than precise. That is, the error will only occur if the decoded output cannot fit, meaning thatEngine::decode_slicecan now be used with exactly-sized output slices. As part of this,Engine::internal_decodenow returnsDecodeSliceErrorinstead ofDecodeError, but that is not expected to affect any external callers.DecodeError::InvalidLengthnow 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 eitherInvalidLengthorInvalidBytebeing appropriate.- Decoding is somewhat faster (5-10%)
e144006
v0.22.164cca59
Merge pull request #271
from JobanSD/patch-1838355e
Correct BinHex 4.0 alphabet according to specificationsbf15ccf
Merge pull request #270
from marshallpierce/mp/clippyfc6aabe
Appease clippy9a518a2
Merge pull request #267
from bdura/patch-1d96c80f
Merge branch 'marshallpierce:master' into patch-15d70ba7
Merge pull request #269
from marshallpierce/mp/decode-preciselyefb6c00
Release notes2b91084
Add some tests to boost coverage