Bump crypto deps to digest 0.11 line and toml to 1.1#26
Merged
Conversation
This was referenced Apr 5, 2026
Upgrade sha2 (0.10→0.11), hmac (0.12→0.13), hkdf (0.12→0.13), chacha20poly1305 (0.10→0.11-rc.3), aes-gcm (0.10→0.11-rc.3), blake2 (0.10→0.11-rc.5), pbkdf2 (0.12→0.13-rc.10), and toml (1.0→1.1). These crates share the digest trait ecosystem — sha2/hmac/hkdf moved to digest 0.11 and the remaining RustCrypto crates need RC versions to match. Dependabot PRs #20, #22, #25 failed CI because they bumped crates individually, causing digest 0.10 vs 0.11 trait conflicts. PR #19 (toml) had a merge conflict. This PR supersedes all four.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
sha2(0.10→0.11),hmac(0.12→0.13),hkdf(0.12→0.13) to thedigest 0.11ecosystemchacha20poly1305(0.10→0.11-rc.3),aes-gcm(0.10→0.11-rc.3),blake2(0.10→0.11-rc.5),pbkdf2(0.12→0.13-rc.10) — RC versions required as stable releases fordigest 0.11are not yet published by RustCryptotoml(1.0→1.1)hmac 0.13API change: importKeyInittrait fornew_from_slicechacha20poly1305 0.11API changes:Nonce::from_slice→Nonce::from, nonce passed by reference todecrypt/encryptSupersedes #19, #20, #22, #25 — Dependabot bumped these crates individually, but
sha2/hmac/hkdfshare thedigesttrait ecosystem and must be upgraded together to avoiddigest 0.10vs0.11trait conflicts.Test plan
cargo clippy --workspace -- -D warningspassescargo test --workspacepasses (all 166 unit tests)cargo fmt --all -- --checkpasses