Skip to content

Commit

Permalink
[PM-7915] [deps]: Update Rust crate base64 to >=0.21.2, <0.23 (#769)
Browse files Browse the repository at this point in the history
[![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) |
dependencies | minor | `>=0.21.2, <0.22` -> `>=0.21.2, <0.23` |

---

### Release Notes

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

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

[Compare
Source](https://togithub.com/marshallpierce/rust-base64/compare/v0.22.0...v0.22.1)

-   Correct the symbols used for the predefined `alphabet::BIN_HEX`.

###
[`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 - "every 2nd week starting on the 2 week
of the year before 4am on Monday" (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/bitwarden/sdk).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMzEuMCIsInVwZGF0ZWRJblZlciI6IjM3LjMzMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

</details>

[PM-7915](https://bitwarden.atlassian.net/browse/PM-7915)

[PM-7915]:
https://bitwarden.atlassian.net/browse/PM-7915?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel García <dani-garcia@users.noreply.github.com>
  • Loading branch information
renovate[bot] and dani-garcia authored May 6, 2024
1 parent 27cdb63 commit 6b25960
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crates/bitwarden-crypto/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ argon2 = { version = ">=0.5.0, <0.6", features = [
"std",
"zeroize",
], default-features = false }
base64 = ">=0.21.2, <0.22"
base64 = ">=0.21.2, <0.23"
cbc = { version = ">=0.1.2, <0.2", features = ["alloc", "zeroize"] }
generic-array = { version = ">=0.14.7, <1.0", features = ["zeroize"] }
hkdf = ">=0.12.3, <0.13"
Expand Down
2 changes: 1 addition & 1 deletion crates/bitwarden-exporters/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ license-file.workspace = true
keywords.workspace = true

[dependencies]
base64 = ">=0.21.2, <0.22"
base64 = ">=0.21.2, <0.23"
bitwarden-crypto = { workspace = true }
chrono = { version = ">=0.4.26, <0.5", features = [
"clock",
Expand Down
2 changes: 1 addition & 1 deletion crates/bitwarden/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ wasm-bindgen = ["chrono/wasmbind"]

[dependencies]
async-trait = ">=0.1.80, <0.2"
base64 = ">=0.21.2, <0.22"
base64 = ">=0.21.2, <0.23"
bitwarden-api-api = { workspace = true }
bitwarden-api-identity = { workspace = true }
bitwarden-crypto = { workspace = true }
Expand Down

0 comments on commit 6b25960

Please sign in to comment.