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

View File

@@ -10,7 +10,7 @@ io_uring = ["dep:io-uring"]
[dependencies]
byteorder = "1.4.3"
crc32c = "0.6.4"
crc-any = "2.4.4"
io-uring = { version = "0.6.2", optional = true }
libc = "0.2.147"
log = "0.4.20"