Update base64 requirement from 0.20.0 to 0.21.2
Updates the requirements on base64 to permit the latest version.
Changelog
Sourced from base64's changelog.
0.21.2
- Rollback MSRV to 1.57.0 -- only dev dependencies need 1.60, not the main code
0.21.1
- Remove the possibility of panicking during decoded length calculations
DecoderReaderno longer sometimes erroneously ignores padding #226Breaking changes
Engine.internal_decodereturn type changed- Update MSRV to 1.60.0
0.21.0
Migration
Functions
< 0.20 function 0.21 equivalent encode()engine::general_purpose::STANDARD.encode()orprelude::BASE64_STANDARD.encode()encode_config()engine.encode()encode_config_buf()engine.encode_string()encode_config_slice()engine.encode_slice()decode()engine::general_purpose::STANDARD.decode()orprelude::BASE64_STANDARD.decode()decode_config()engine.decode()decode_config_buf()engine.decode_vec()decode_config_slice()engine.decode_slice()The short-lived 0.20 functions were the 0.13 functions with
configreplaced withengine.Padding
If applicable, use the preset engines
engine::STANDARD,engine::STANDARD_NO_PAD,engine::URL_SAFE, orengine::URL_SAFE_NO_PAD. TheNO_PADones require that padding is absent when decoding, and the others require that canonical padding is present .If you need the < 0.20 behavior that did not care about padding, or want to recreate < 0.20.0's predefined
Configs precisely, see the following table.
0.13.1 Config 0.20.0+ alphabet encode_paddingdecode_padding_modeSTANDARD STANDARD true Indifferent STANDARD_NO_PAD STANDARD false Indifferent URL_SAFE URL_SAFE true Indifferent URL_SAFE_NO_PAD URL_SAFE false Indifferent
... (truncated)
Commits
1e8246av0.21.213690afMerge pull request #239 from marshallpierce/mp/msrv02af00aRoll back MSRV to 1.57.009c7907Remove readme comments about benches needing nightlyf589cdeMerge pull request #238 from marshallpierce/mp/decoder-reader-padding57e2334Fix DecoderReader handling of paddingf766bc6Merge pull request #223 from marshallpierce/mp/add_padding_len9687b03Switch add_padding() to use encoded len29ed4d0Merge pull request #217 from marshallpierce/mp/decode-estimate453d15dUpdate release notes- 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)