diff --git a/src/uucore/Cargo.toml b/src/uucore/Cargo.toml index d376e807a..823591084 100644 --- a/src/uucore/Cargo.toml +++ b/src/uucore/Cargo.toml @@ -40,16 +40,16 @@ libc = { workspace = true, optional = true } once_cell = { workspace = true } os_display = "0.1.3" -digest = { workspace = true } -hex = { workspace = true } -memchr = { workspace = true } -md-5 = { workspace = true } -sha1 = { workspace = true } -sha2 = { workspace = true } -sha3 = { workspace = true } -blake2b_simd = { workspace = true } -blake3 = { workspace = true } -sm3 = { workspace = true } +digest = { workspace = true, optional = true } +hex = { workspace = true, optional = true } +memchr = { workspace = true, optional = true } +md-5 = { workspace = true, optional = true } +sha1 = { workspace = true, optional = true } +sha2 = { workspace = true, optional = true } +sha3 = { workspace = true, optional = true } +blake2b_simd = { workspace = true, optional = true } +blake3 = { workspace = true, optional = true } +sm3 = { workspace = true, optional = true } [target.'cfg(unix)'.dependencies] walkdir = { workspace = true, optional = true } @@ -86,4 +86,15 @@ utf8 = [] utmpx = ["time", "time/macros", "libc", "dns-lookup"] wide = [] pipes = [] -sum = [] +sum = [ + "digest", + "hex", + "memchr", + "md-5", + "sha1", + "sha2", + "sha3", + "blake2b_simd", + "blake3", + "sm3", +]