aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack O'Connor <[email protected]>2025-11-12 08:35:11 -0800
committerJack O'Connor <[email protected]>2025-11-12 08:35:11 -0800
commiteae9bf376a1c4797df7be6e49e735c0a5d91dcb0 (patch)
tree22ddec778d0d3f79532e6f4c9e272ce861671437
parent185f1db1273cff2bb7ca3adaaa76e5d542ca8d3b (diff)
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
-rw-r--r--Cargo.toml5
1 files changed, 1 insertions, 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 }