aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorJack O'Connor <[email protected]>2025-11-11 07:41:31 -0800
committerJack O'Connor <[email protected]>2025-11-11 07:43:05 -0800
commit185f1db1273cff2bb7ca3adaaa76e5d542ca8d3b (patch)
tree5c47ba8d2c427eb5c0c9ecbe26e84b3a2c29cf8f /Cargo.toml
parentc54ee7e60d98418e50fd355a3be835edef107f65 (diff)
pin `generic-array` to the un-deprecated version
This is a temporary hack to fix warnings in CI. Upstream tracking issue: https://github.com/RustCrypto/traits/issues/2036
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml5
1 files changed, 4 insertions, 1 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 61ca47f..fd88a15 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"]
+traits-preview = ["dep:digest", "dep:generic-array"]
# ---------- Features below this line are undocumented and unstable. ----------
# The following features are mainly intended for testing and benchmarking, and
@@ -115,6 +115,9 @@ 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 }