Skip to content

fix(deps): update rust crate sha2 to 0.11.0 - #38

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/sha2-0.x
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/sha2-0.x

Conversation

@renovate

@renovate renovate Bot commented Apr 8, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
sha2 dependencies minor 0.10.90.11.0

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

RustCrypto/hashes (sha2)

v0.11.0

Compare Source


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot force-pushed the renovate/sha2-0.x branch 2 times, most recently from 3cd5703 to 1fc4455 Compare May 22, 2026 16:45
@renovate
renovate Bot force-pushed the renovate/sha2-0.x branch from 1fc4455 to 4691ae2 Compare July 20, 2026 16:58
@renovate
renovate Bot force-pushed the renovate/sha2-0.x branch from 4691ae2 to 320582d Compare August 12, 2026 00:10
@renovate
renovate Bot force-pushed the renovate/sha2-0.x branch 2 times, most recently from b17acf7 to 503c775 Compare September 2, 2026 14:59
@renovate
renovate Bot force-pushed the renovate/sha2-0.x branch from 503c775 to b66099c Compare September 7, 2026 18:08
@patrickleet

Copy link
Copy Markdown
Collaborator

Maintainership note (2026-09-12)

CI: quality / quality fails (expected — pin-only bump).

Usage impact: sha2::{Digest, Sha256} is used for content hashing in:

  • src/commands/provider/install.rs
  • src/commands/config/install.rs
  • src/commands/local/workbench/cluster_gitops.rs

Breakage: sha2 0.11 / digest 0.11 returns hybrid_array::Array, which no longer implements LowerHex, so format!("{:x}", hasher.finalize()) does not compile.

Adoption needed: replace with an explicit lower-hex encoder, e.g.

fn hex_encode_lower(bytes: impl AsRef<[u8]>) -> String {
    const HEX: &[u8; 16] = b"0123456789abcdef";
    let bytes = bytes.as_ref();
    let mut out = String::with_capacity(bytes.len() * 2);
    for &b in bytes {
        out.push(HEX[(b >> 4) as usize] as char);
        out.push(HEX[(b & 0xf) as usize] as char);
    }
    out
}
// then: let hex = hex_encode_lower(hasher.finalize());

CloudAgent unavailable on current plan; follow-up adoption PR not opened yet (branch fix/adopt-sha2-0.11 prepared from this Renovate branch). Do not merge until adoption lands.

@renovate
renovate Bot force-pushed the renovate/sha2-0.x branch from b66099c to 69e8a7c Compare September 13, 2026 14:20
@coderabbitai

coderabbitai Bot commented Sep 13, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: f4bf3322-ba28-44d5-8295-6ff92fd4a138

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@renovate
renovate Bot force-pushed the renovate/sha2-0.x branch from 69e8a7c to 7a31d18 Compare September 15, 2026 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant