Skip to content

Bump base64 from 0.20.0 to 0.21.0 - #57

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/base64-0.21.0
Closed

Bump base64 from 0.20.0 to 0.21.0#57
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/base64-0.21.0

Conversation

@dependabot

@dependabotdependabotBot commented on behalf of githubJan 9, 2023

Copy link
Copy Markdown
Contributor

Bumps base64 from 0.20.0 to 0.21.0.

Changelog

Sourced from base64's changelog.

0.21.0

(not yet released)

Migration

Functions

< 0.20 function0.21 equivalent
encode()engine::general_purpose::STANDARD.encode() or prelude::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() or prelude::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 config replaced with engine.

Padding

If applicable, use the preset engines engine::STANDARD, engine::STANDARD_NO_PAD, engine::URL_SAFE, or engine::URL_SAFE_NO_PAD. The NO_PAD ones 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 Config0.20.0+ alphabetencode_paddingdecode_padding_mode
STANDARDSTANDARDtrueIndifferent
STANDARD_NO_PADSTANDARDfalseIndifferent
URL_SAFEURL_SAFEtrueIndifferent
URL_SAFE_NO_PADURL_SAFEfalseIndifferent

0.21.0-rc.1

  • Restore the ability to decode into a slice of precisely the correct length with Engine.decode_slice_unchecked.
  • Add Engine as a pub use in prelude.

0.21.0-beta.2

Breaking changes

  • Re-exports of preconfigured engines in engine are removed in favor of base64::prelude::... that are better suited to those who wish to use the entire path to a name.

... (truncated)

Commits

Dependabot compatibility score

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabotdependabotBot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Jan 9, 2023
@dependabot
dependabotBotforce-pushed the dependabot/cargo/base64-0.21.0 branch from 76a6c81 to 2f9cf15CompareJanuary 9, 2023 20:24
Bumps [base64](https://github.com/marshallpierce/rust-base64) from 0.20.0 to 0.21.0.
- [Release notes](https://github.com/marshallpierce/rust-base64/releases)
- [Changelog](https://github.com/marshallpierce/rust-base64/blob/master/RELEASE-NOTES.md)
- [Commits](marshallpierce/rust-base64@v0.20.0...v0.21.0)
---
updated-dependencies:
- dependency-name: base64
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabotBotforce-pushed the dependabot/cargo/base64-0.21.0 branch from 2f9cf15 to 71a998fCompareApril 12, 2023 12:53
@dependabot@github

dependabotBot commented on behalf of githubMay 22, 2023

Copy link
Copy Markdown
ContributorAuthor

Superseded by #68.

@dependabotdependabotBot closed this May 22, 2023
@dependabot
dependabotBot deleted the dependabot/cargo/base64-0.21.0 branch May 22, 2023 07:01
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependenciesPull requests that update a dependency filerustPull requests that update Rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants