From eae9bf376a1c4797df7be6e49e735c0a5d91dcb0 Mon Sep 17 00:00:00 2001 From: Jack O'Connor Date: Wed, 12 Nov 2025 08:35:11 -0800 Subject: Revert "pin `generic-array` to the un-deprecated version" Upstream `crypto-common` now does the pin itself: https://github.com/RustCrypto/traits/issues/2036#issuecomment-3522196740 --- Cargo.toml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index fd88a15..61ca47f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -55,7 +55,7 @@ zeroize = ["dep:zeroize", "arrayvec/zeroize"] # who use it should expect breaking changes between patch versions of this # crate. (The "*-preview" feature name follows the conventions of the RustCrypto # "signature" crate.) -traits-preview = ["dep:digest", "dep:generic-array"] +traits-preview = ["dep:digest"] # ---------- Features below this line are undocumented and unstable. ---------- # The following features are mainly intended for testing and benchmarking, and @@ -115,9 +115,6 @@ arrayvec = { version = "0.7.4", default-features = false } constant_time_eq = { version = "0.3.1", default-features = false } cfg-if = "1.0.0" digest = { version = "0.10.1", features = ["mac"], optional = true } -# HACK: `generic-array` is pinned here to silence an upstream deprecation warning. -# TODO: Remove it once https://github.com/RustCrypto/traits/issues/2036 is fixed. -generic-array = { version = "=0.14.7", default-features = false, optional = true } memmap2 = { version = "0.9", optional = true } rayon-core = { version = "1.12.1", optional = true } serde = { version = "1.0", default-features = false, features = ["derive"], optional = true } -- cgit v1.2.3