From 43e4e96b8b70f50b426a6c83908fadbbd16f19fb Mon Sep 17 00:00:00 2001 From: xtqqczze <45661989+xtqqczze@users.noreply.github.com> Date: Thu, 20 Aug 2026 18:20:23 +0100 Subject: [PATCH] fix(deps): refactor sha2 package configuration --- Cargo.lock | 7 ------- Cargo.toml | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 360677c9..d37c42b9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -323,12 +323,6 @@ version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "baf0a07a401f374238ab8e2f11a104d2851bf9ce711ec69804834de8af45c7af" -[[package]] -name = "const-oid" -version = "0.10.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a6ef517f0926dd24a1582492c791b6a4818a4d94e789a334894aa15b0d12f55c" - [[package]] name = "core-foundation-sys" version = "0.8.7" @@ -416,7 +410,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4850db49bf08e663084f7fb5c87d202ef91a3907271aff24a94eb97ff039153c" dependencies = [ "block-buffer", - "const-oid", "crypto-common", ] diff --git a/Cargo.toml b/Cargo.toml index 1cce424c..aa759a66 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -45,7 +45,7 @@ phf_codegen = "0.14.0" predicates = "3.1.3" rand = { version = "0.10.0" } regex = "1.10.4" -sha2 = "0.11" +sha2 = { version = "0.11.0", default-features = false, features = ["alloc"] } tempfile = "3.10.1" terminal_size = "0.4.2" textwrap = { version = "0.16.1", features = ["terminal_size"] }