-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
C-bugCategory: This is a bug.Category: This is a bug.
Description
According to crates.io, cpuid-bool
is deprecated. However, it is listed in the permitted dependencies:
rust/src/tools/tidy/src/deps.rs
Line 96 in 498eeb7
"cpuid-bool", |
cpuid-bool
is being pulled in by two hashing crates:
Lines 4713 to 4737 in 4c55c83
[[package]] | |
name = "sha-1" | |
version = "0.9.1" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
checksum = "170a36ea86c864a3f16dd2687712dd6646f7019f301e57537c7f4dc9f5916770" | |
dependencies = [ | |
"block-buffer 0.9.0", | |
"cfg-if 0.1.10", | |
"cpuid-bool", | |
"digest 0.9.0", | |
"opaque-debug 0.3.0", | |
] | |
[[package]] | |
name = "sha2" | |
version = "0.9.1" | |
source = "registry+https://github.com/rust-lang/crates.io-index" | |
checksum = "2933378ddfeda7ea26f48c555bdad8bb446bf8a3d17832dc83e380d444cfb8c1" | |
dependencies = [ | |
"block-buffer 0.9.0", | |
"cfg-if 0.1.10", | |
"cpuid-bool", | |
"digest 0.9.0", | |
"opaque-debug 0.3.0", | |
] |
Both of these crates now use cpufeatures
.
We should update sha2
and sha-1
to use the currently maintained crate.
Metadata
Metadata
Assignees
Labels
C-bugCategory: This is a bug.Category: This is a bug.