Auto merge of #13675 - rust-lang:renovate/base64-0.x, r=epage

chore(deps): update rust crate base64 to 0.22.0

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [base64](https://togithub.com/marshallpierce/rust-base64) | workspace.dependencies | minor | `0.21.7` -> `0.22.0` |

---

### Release Notes

<details>
<summary>marshallpierce/rust-base64 (base64)</summary>

### [`v0.22.0`](https://togithub.com/marshallpierce/rust-base64/blob/HEAD/RELEASE-NOTES.md#0220)

[Compare Source](https://togithub.com/marshallpierce/rust-base64/compare/v0.21.7...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.
-   Decoding is somewhat faster (5-10%)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 5am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/rust-lang/cargo).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->
This commit is contained in:
bors 2024-04-03 02:29:32 +00:00
commit f4ea1d16e9
2 changed files with 9 additions and 3 deletions

10
Cargo.lock generated
View File

@ -151,6 +151,12 @@ version = "0.21.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567"
[[package]]
name = "base64"
version = "0.22.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9475866fec1451be56a3c2400fd081ff546538961565ccb5b7142cbd22bc7a51"
[[package]]
name = "base64ct"
version = "1.6.0"
@ -271,7 +277,7 @@ dependencies = [
"anstream",
"anstyle",
"anyhow",
"base64",
"base64 0.22.0",
"bytesize",
"cargo-credential",
"cargo-credential-libsecret",
@ -1759,7 +1765,7 @@ version = "0.41.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cf8e5f72ec9cad9ee44714b9a4ec7427b540a2418b62111f5e3a715bebe1ed9d"
dependencies = [
"base64",
"base64 0.21.7",
"bstr",
"curl",
"gix-command",

View File

@ -22,7 +22,7 @@ annotate-snippets = "0.11.1"
anstream = "0.6.13"
anstyle = "1.0.6"
anyhow = "1.0.81"
base64 = "0.21.7"
base64 = "0.22.0"
bytesize = "1.3"
cargo = { path = "" }
cargo-credential = { version = "0.4.2", path = "credential/cargo-credential" }