Skip to content

Fix #911: use hex::encode for sha2 0.11 output#939

Merged
AlexMikhalev merged 1 commit into
mainfrom
fix/sha2-011-rollback-hex
Jul 6, 2026
Merged

Fix #911: use hex::encode for sha2 0.11 output#939
AlexMikhalev merged 1 commit into
mainfrom
fix/sha2-011-rollback-hex

Conversation

@AlexMikhalev

Copy link
Copy Markdown
Contributor

Fixes the compile regression introduced by bumping sha2 to 0.11 in #911.

  • sha2::Sha256::finalize() output no longer implements LowerHex via format!("{:x}", ...).
  • Add hex = "0.4" dependency and encode the digest explicitly.

Refs #911

sha2 0.11's finalize() output no longer implements LowerHex via the
format! macro. Add hex crate and encode the digest explicitly.

Refs #911
@AlexMikhalev AlexMikhalev merged commit d74c38e into main Jul 6, 2026
1 check passed
@AlexMikhalev AlexMikhalev deleted the fix/sha2-011-rollback-hex branch July 6, 2026 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant