[PR #381] [CLOSED] Update base64 requirement from 0.20.0 to 0.21.0 #425

Closed
opened 2026-02-27 20:24:42 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ramsayleung/rspotify/pull/381
Author: @dependabot[bot]
Created: 1/9/2023
Status: Closed

Base: masterHead: dependabot/cargo/base64-0.21.0


📝 Commits (1)

  • c41656b Update base64 requirement from 0.20.0 to 0.21.0

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 Cargo.toml (+1 -1)

📄 Description

Updates the requirements on base64 to permit the latest version.

Changelog

Sourced from base64's changelog.

0.21.0

(not yet released)

Migration

Functions

< 0.20 function 0.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 Config 0.20.0+ alphabet encode_padding decode_padding_mode
STANDARD STANDARD true Indifferent
STANDARD_NO_PAD STANDARD false Indifferent
URL_SAFE URL_SAFE true Indifferent
URL_SAFE_NO_PAD URL_SAFE false Indifferent

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
  • d7fb31c v0.21.0
  • 8350376 Merge pull request #207 from marshallpierce/mp/api-rework
  • 726f784 v0.21.0-rc.1
  • b29ab01 Add Engine in prelude
  • 64bbcc0 Remove no longer needed test helpers
  • 0f981bd Add decode_slice_unchecked to restore ability to decode into a precisely size...
  • a51e822 v0.21.0-beta.2
  • 936569a Move re-exports from engine to prelude
  • 53e1091 Fix release notes typo
  • b03eb5a v0.21.0-beta.1
  • 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 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)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ramsayleung/rspotify/pull/381 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 1/9/2023 **Status:** ❌ Closed **Base:** `master` ← **Head:** `dependabot/cargo/base64-0.21.0` --- ### 📝 Commits (1) - [`c41656b`](https://github.com/ramsayleung/rspotify/commit/c41656b0e2621cabc7178ef982154f1949127ee0) Update base64 requirement from 0.20.0 to 0.21.0 ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.toml` (+1 -1) </details> ### 📄 Description Updates the requirements on [base64](https://github.com/marshallpierce/rust-base64) to permit the latest version. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/marshallpierce/rust-base64/blob/master/RELEASE-NOTES.md">base64's changelog</a>.</em></p> <blockquote> <h1>0.21.0</h1> <p>(not yet released)</p> <h2>Migration</h2> <h3>Functions</h3> <table> <thead> <tr> <th>&lt; 0.20 function</th> <th>0.21 equivalent</th> </tr> </thead> <tbody> <tr> <td><code>encode()</code></td> <td><code>engine::general_purpose::STANDARD.encode()</code> or <code>prelude::BASE64_STANDARD.encode()</code></td> </tr> <tr> <td><code>encode_config()</code></td> <td><code>engine.encode()</code></td> </tr> <tr> <td><code>encode_config_buf()</code></td> <td><code>engine.encode_string()</code></td> </tr> <tr> <td><code>encode_config_slice()</code></td> <td><code>engine.encode_slice()</code></td> </tr> <tr> <td><code>decode()</code></td> <td><code>engine::general_purpose::STANDARD.decode()</code> or <code>prelude::BASE64_STANDARD.decode()</code></td> </tr> <tr> <td><code>decode_config()</code></td> <td><code>engine.decode()</code></td> </tr> <tr> <td><code>decode_config_buf()</code></td> <td><code>engine.decode_vec()</code></td> </tr> <tr> <td><code>decode_config_slice()</code></td> <td><code>engine.decode_slice()</code></td> </tr> </tbody> </table> <p>The short-lived 0.20 functions were the 0.13 functions with <code>config</code> replaced with <code>engine</code>.</p> <h3>Padding</h3> <p>If applicable, use the preset engines <code>engine::STANDARD</code>, <code>engine::STANDARD_NO_PAD</code>, <code>engine::URL_SAFE</code>, or <code>engine::URL_SAFE_NO_PAD</code>. The <code>NO_PAD</code> ones require that padding is absent when decoding, and the others require that canonical padding is present .</p> <p>If you need the &lt; 0.20 behavior that did not care about padding, or want to recreate &lt; 0.20.0's predefined <code>Config</code>s precisely, see the following table.</p> <table> <thead> <tr> <th>0.13.1 Config</th> <th>0.20.0+ alphabet</th> <th><code>encode_padding</code></th> <th><code>decode_padding_mode</code></th> </tr> </thead> <tbody> <tr> <td>STANDARD</td> <td>STANDARD</td> <td>true</td> <td>Indifferent</td> </tr> <tr> <td>STANDARD_NO_PAD</td> <td>STANDARD</td> <td>false</td> <td>Indifferent</td> </tr> <tr> <td>URL_SAFE</td> <td>URL_SAFE</td> <td>true</td> <td>Indifferent</td> </tr> <tr> <td>URL_SAFE_NO_PAD</td> <td>URL_SAFE</td> <td>false</td> <td>Indifferent</td> </tr> </tbody> </table> <h1>0.21.0-rc.1</h1> <ul> <li>Restore the ability to decode into a slice of precisely the correct length with <code>Engine.decode_slice_unchecked</code>.</li> <li>Add <code>Engine</code> as a <code>pub use</code> in <code>prelude</code>.</li> </ul> <h1>0.21.0-beta.2</h1> <h2>Breaking changes</h2> <ul> <li>Re-exports of preconfigured engines in <code>engine</code> are removed in favor of <code>base64::prelude::...</code> that are better suited to those who wish to <code>use</code> the entire path to a name.</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/marshallpierce/rust-base64/commit/d7fb31c4ada4ca45df5ae80ec691fa3a050d9c3e"><code>d7fb31c</code></a> v0.21.0</li> <li><a href="https://github.com/marshallpierce/rust-base64/commit/83503761e92e6b13fb435a6c1a952feef58bd0be"><code>8350376</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/marshallpierce/rust-base64/issues/207">#207</a> from marshallpierce/mp/api-rework</li> <li><a href="https://github.com/marshallpierce/rust-base64/commit/726f7841b760b94ff8ca14bb6a396d4dc104ad4f"><code>726f784</code></a> v0.21.0-rc.1</li> <li><a href="https://github.com/marshallpierce/rust-base64/commit/b29ab0196d4996b11a446fe487f34d186656d4f8"><code>b29ab01</code></a> Add <code>Engine</code> in <code>prelude</code></li> <li><a href="https://github.com/marshallpierce/rust-base64/commit/64bbcc02df9f6bc998952b32ad7484dddd3b92d1"><code>64bbcc0</code></a> Remove no longer needed test helpers</li> <li><a href="https://github.com/marshallpierce/rust-base64/commit/0f981bd04f3c9b7c6fcb9f6053bdde5ec5f99cb5"><code>0f981bd</code></a> Add decode_slice_unchecked to restore ability to decode into a precisely size...</li> <li><a href="https://github.com/marshallpierce/rust-base64/commit/a51e822ae9ce54fcc7c69b64bb5daac07dc77d27"><code>a51e822</code></a> v0.21.0-beta.2</li> <li><a href="https://github.com/marshallpierce/rust-base64/commit/936569a6580aec5955eceeeeb79965bfc9ca6cdc"><code>936569a</code></a> Move re-exports from <code>engine</code> to <code>prelude</code></li> <li><a href="https://github.com/marshallpierce/rust-base64/commit/53e1091e1bbfbd6f6dbe36ec7217fa6bc7c73277"><code>53e1091</code></a> Fix release notes typo</li> <li><a href="https://github.com/marshallpierce/rust-base64/commit/b03eb5a84df644098af6d6fc9036fad9186f0b8a"><code>b03eb5a</code></a> v0.21.0-beta.1</li> <li>Additional commits viewable in <a href="https://github.com/marshallpierce/rust-base64/compare/v0.20.0...v0.21.0">compare view</a></li> </ul> </details> <br /> 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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) </details> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 20:24:42 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/rspotify#425
No description provided.