diff --git a/Cargo.toml b/Cargo.toml index f439c50fb79..80ad3cf8c68 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -454,7 +454,7 @@ sha3 = "0.10.8" blake2b_simd = "1.0.2" blake3 = "1.5.1" sm3 = "0.4.2" -crc-fast = "1.5.0" +crc-fast = { version = "1.5.0", default-features = false } digest = "0.10.7" # Fluent dependencies diff --git a/src/uucore/Cargo.toml b/src/uucore/Cargo.toml index 187634d36b9..2f11ecfd30a 100644 --- a/src/uucore/Cargo.toml +++ b/src/uucore/Cargo.toml @@ -64,7 +64,7 @@ sha3 = { workspace = true, optional = true } blake2b_simd = { workspace = true, optional = true } blake3 = { workspace = true, optional = true } sm3 = { workspace = true, optional = true } -crc-fast = { workspace = true, optional = true } +crc-fast = { workspace = true, optional = true, features = ["std"] } bigdecimal = { workspace = true, optional = true } num-traits = { workspace = true, optional = true } selinux = { workspace = true, optional = true }