mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-06-23 00:21:27 +08:00
chore(deps): bump sha2 from 0.10.9 to 0.11.0 in /ecc2 (#2208)
* chore(deps): bump sha2 from 0.10.9 to 0.11.0 in /ecc2 Bumps [sha2](https://github.com/RustCrypto/hashes) from 0.10.9 to 0.11.0. - [Commits](https://github.com/RustCrypto/hashes/compare/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> * fix(ecc2): hex-encode sha2 0.11 digest output manually sha2 0.11 (digest 0.11 / hybrid-array) output arrays no longer implement LowerHex, so format the fingerprint bytes directly. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Affaan Mustafa <me@affaanmustafa.com>
This commit is contained in:
@@ -1356,7 +1356,12 @@ fn dependency_fingerprint(root: &Path, files: &[&str]) -> Result<String> {
|
||||
hasher.update(&content);
|
||||
hasher.update([0xff]);
|
||||
}
|
||||
Ok(format!("{:x}", hasher.finalize()))
|
||||
// sha2 0.11 output arrays no longer implement LowerHex; hex-encode manually.
|
||||
Ok(hasher
|
||||
.finalize()
|
||||
.iter()
|
||||
.map(|byte| format!("{byte:02x}"))
|
||||
.collect())
|
||||
}
|
||||
|
||||
fn is_symlink_to(path: &Path, target: &Path) -> Result<bool> {
|
||||
|
||||
Reference in New Issue
Block a user