block: Replace use of crc32c crate with crc-any

According to crates.io the crc-any crate is actively maintained which
avoids issues with the crc32c crate and the nightly compiler.

Fixes: #6168

Signed-off-by: Rob Bradford <rbradford@rivosinc.com>
This commit is contained in:
Rob Bradford
2024-02-06 20:48:47 +00:00
committed by Bo Chen
parent 9b84c6c3f5
commit d516374c39
3 changed files with 19 additions and 23 deletions

31
Cargo.lock generated
View File

@@ -340,7 +340,7 @@ name = "block"
version = "0.1.0"
dependencies = [
"byteorder",
"crc32c",
"crc-any",
"io-uring",
"libc",
"log",
@@ -493,12 +493,12 @@ dependencies = [
]
[[package]]
name = "crc32c"
version = "0.6.4"
name = "crc-any"
version = "2.4.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d8f48d60e5b4d2c53d5c2b1d8a58c849a70ae5e5509b08a48d047e3b65714a74"
checksum = "c01a5e1f881f6fb6099a7bdf949e946719fd4f1fefa56264890574febf0eb6d0"
dependencies = [
"rustc_version",
"debug-helper",
]
[[package]]
@@ -567,6 +567,12 @@ dependencies = [
"syn 2.0.31",
]
[[package]]
name = "debug-helper"
version = "0.3.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f578e8e2c440e7297e008bb5486a3a8a194775224bbc23729b0dbdfaeebf162e"
[[package]]
name = "derivative"
version = "2.2.0"
@@ -1867,15 +1873,6 @@ version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
[[package]]
name = "rustc_version"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366"
dependencies = [
"semver",
]
[[package]]
name = "rustix"
version = "0.37.27"
@@ -1924,12 +1921,6 @@ dependencies = [
"libc",
]
[[package]]
name = "semver"
version = "1.0.21"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b97ed7a9823b74f99c7742f5336af7be5ecd3eeafcb1507d1fa93347b1d589b0"
[[package]]
name = "serde"
version = "1.0.193"