Skip to content

chore(deps): bump sha2 from 0.10.9 to 0.11.0#349

Closed
dependabot[bot] wants to merge 3 commits intomainfrom
dependabot/cargo/sha2-0.11.0
Closed

chore(deps): bump sha2 from 0.10.9 to 0.11.0#349
dependabot[bot] wants to merge 3 commits intomainfrom
dependabot/cargo/sha2-0.11.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Apr 11, 2026

Bumps sha2 from 0.10.9 to 0.11.0.

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Bumps [sha2](https://github.com/RustCrypto/hashes) from 0.10.9 to 0.11.0.
- [Commits](RustCrypto/hashes@sha2-v0.10.9...sha2-v0.11.0)

---
updated-dependencies:
- dependency-name: sha2
  dependency-version: 0.11.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Apr 11, 2026
@dependabot dependabot bot requested review from Copilot and removed request for Copilot April 11, 2026 21:23
@kayodebristol kayodebristol requested a review from Copilot April 13, 2026 08:51
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Rust workspace’s cryptographic hashing dependency by bumping sha2 from 0.10.x to 0.11.x, along with the resulting Cargo.lock resolution updates.

Changes:

  • Bump sha2 workspace dependency from 0.10 to 0.11.
  • Update Cargo.lock to include the new sha2 (and its digest/crypto-common/cpufeatures) dependency graph.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.

File Description
Cargo.toml Updates the workspace sha2 version requirement to 0.11.
Cargo.lock Updates resolved dependency versions, adding sha2 0.11.0 and digest 0.11.x alongside existing digest 0.10.x users.

Cargo.toml Outdated
anyhow = "1.0"
base64 = "0.22"
sha2 = "0.10"
sha2 = "0.11"
Copy link

Copilot AI Apr 13, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bumping sha2 to 0.11 pulls in digest 0.11, but this workspace still uses pbkdf2 0.12 / hmac 0.12 which depend on digest 0.10 (see Cargo.lock). pluresdb-sea calls pbkdf2_hmac::<sha2::Sha256>(...), which will fail to compile when Sha256 comes from sha2 0.11 due to the digest trait version mismatch. Either keep sha2 on 0.10 for now, or bump pbkdf2/hmac (and any other digest-0.10 users) to versions compatible with digest 0.11, or use dependency renaming to keep a sha2 0.10 instance specifically for PBKDF2 use.

Suggested change
sha2 = "0.11"
sha2 = "0.10"

Copilot uses AI. Check for mistakes.
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot bot commented on behalf of github Apr 13, 2026

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/cargo/sha2-0.11.0 branch April 13, 2026 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update rust code suggestions-applied

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants