Skip to content

Commit 185f1db

Browse files
committed
pin generic-array to the un-deprecated version
This is a temporary hack to fix warnings in CI. Upstream tracking issue: RustCrypto/traits#2036
1 parent c54ee7e commit 185f1db

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Cargo.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ zeroize = ["dep:zeroize", "arrayvec/zeroize"]
5555
# who use it should expect breaking changes between patch versions of this
5656
# crate. (The "*-preview" feature name follows the conventions of the RustCrypto
5757
# "signature" crate.)
58-
traits-preview = ["dep:digest"]
58+
traits-preview = ["dep:digest", "dep:generic-array"]
5959

6060
# ---------- Features below this line are undocumented and unstable. ----------
6161
# The following features are mainly intended for testing and benchmarking, and
@@ -115,6 +115,9 @@ arrayvec = { version = "0.7.4", default-features = false }
115115
constant_time_eq = { version = "0.3.1", default-features = false }
116116
cfg-if = "1.0.0"
117117
digest = { version = "0.10.1", features = ["mac"], optional = true }
118+
# HACK: `generic-array` is pinned here to silence an upstream deprecation warning.
119+
# TODO: Remove it once https://github.com/RustCrypto/traits/issues/2036 is fixed.
120+
generic-array = { version = "=0.14.7", default-features = false, optional = true }
118121
memmap2 = { version = "0.9", optional = true }
119122
rayon-core = { version = "1.12.1", optional = true }
120123
serde = { version = "1.0", default-features = false, features = ["derive"], optional = true }

0 commit comments

Comments
 (0)