mirror of
https://github.com/uutils/coreutils
synced 2024-12-14 07:12:44 +00:00
uucore: make deps of "sum" feature optional
This commit is contained in:
parent
cb428a808a
commit
fb1c663724
1 changed files with 22 additions and 11 deletions
|
@ -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",
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue