From 85d60f9a232f98e1a1f7872894602588a3cb8fa0 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Wed, 30 Aug 2023 19:04:53 +0000 Subject: [PATCH] Update Rust crate sha2 to 0.10 --- Cargo.lock | 15 +++++++++++++-- crates/lox-library/Cargo.toml | 2 +- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 1891f68..495ea08 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -496,7 +496,7 @@ dependencies = [ "rand 0.7.3", "serde", "serde_bytes", - "sha2", + "sha2 0.9.9", "zeroize", ] @@ -1009,7 +1009,7 @@ dependencies = [ "rand 0.7.3", "serde", "serde_with", - "sha2", + "sha2 0.10.7", "statistical", "subtle", "thiserror", @@ -1771,6 +1771,17 @@ dependencies = [ "opaque-debug", ] +[[package]] +name = "sha2" +version = "0.10.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "479fb9d862239e610720565ca91403019f2f00410f1864c5aa7479b950a76ed8" +dependencies = [ + "cfg-if", + "cpufeatures", + "digest 0.10.7", +] + [[package]] name = "signal-hook-registry" version = "1.4.1" diff --git a/crates/lox-library/Cargo.toml b/crates/lox-library/Cargo.toml index 91d4829..75ad210 100644 --- a/crates/lox-library/Cargo.toml +++ b/crates/lox-library/Cargo.toml @@ -18,7 +18,7 @@ chrono = "0.4" rand = "0.7" serde = "1.0.188" serde_with = {version = "3.0.0", features = ["json"]} -sha2 = "0.9" +sha2 = "0.10" statistical = "1.0.0" lazy_static = "1" hex_fmt = "0.3"