From 736a00d9eb13f7f7d180ac68abfe9aeb1abbcaf9 Mon Sep 17 00:00:00 2001 From: Roy Ivy III Date: Fri, 12 Nov 2021 21:40:39 -0600 Subject: [PATCH] maint/CICD ~ (GHA) fix `cargo-udeps` false positives (add 'ignore' exceptions to sub-crates) --- src/uu/arch/Cargo.toml | 3 +++ src/uu/base32/Cargo.toml | 1 - src/uu/base64/Cargo.toml | 1 - src/uu/basename/Cargo.toml | 1 - src/uu/basenc/Cargo.toml | 1 - src/uu/cat/Cargo.toml | 3 +++ src/uu/chcon/Cargo.toml | 3 +++ src/uu/chgrp/Cargo.toml | 3 +++ src/uu/chmod/Cargo.toml | 3 +++ src/uu/chown/Cargo.toml | 3 +++ src/uu/chroot/Cargo.toml | 3 +++ src/uu/cksum/Cargo.toml | 1 - src/uu/comm/Cargo.toml | 1 - src/uu/cp/Cargo.toml | 1 - src/uu/csplit/Cargo.toml | 1 - src/uu/cut/Cargo.toml | 1 - src/uu/date/Cargo.toml | 1 - src/uu/dd/Cargo.toml | 1 - src/uu/df/Cargo.toml | 3 +++ src/uu/dircolors/Cargo.toml | 1 - src/uu/expand/Cargo.toml | 1 - src/uu/expr/Cargo.toml | 1 - src/uu/factor/Cargo.toml | 1 - src/uu/fmt/Cargo.toml | 1 - src/uu/fold/Cargo.toml | 1 - src/uu/groups/Cargo.toml | 3 +++ src/uu/hashsum/Cargo.toml | 1 - src/uu/head/Cargo.toml | 1 - src/uu/hostname/Cargo.toml | 3 +++ src/uu/join/Cargo.toml | 1 - src/uu/link/Cargo.toml | 1 - src/uu/logname/Cargo.toml | 3 +++ src/uu/ls/Cargo.toml | 1 - src/uu/mkfifo/Cargo.toml | 3 +++ src/uu/mknod/Cargo.toml | 3 +++ src/uu/more/Cargo.toml | 1 - src/uu/mv/Cargo.toml | 1 - src/uu/nice/Cargo.toml | 3 +++ src/uu/nl/Cargo.toml | 3 +-- src/uu/nohup/Cargo.toml | 3 +++ src/uu/nproc/Cargo.toml | 3 +++ src/uu/numfmt/Cargo.toml | 3 +-- src/uu/od/Cargo.toml | 1 - src/uu/paste/Cargo.toml | 1 - src/uu/pathchk/Cargo.toml | 3 +++ src/uu/pinky/Cargo.toml | 3 +++ src/uu/pr/Cargo.toml | 1 - src/uu/printenv/Cargo.toml | 1 - src/uu/printf/Cargo.toml | 1 - src/uu/ptx/Cargo.toml | 1 - src/uu/readlink/Cargo.toml | 1 - src/uu/realpath/Cargo.toml | 1 - src/uu/relpath/Cargo.toml | 1 - src/uu/rm/Cargo.toml | 1 - src/uu/seq/Cargo.toml | 1 - src/uu/shred/Cargo.toml | 1 - src/uu/shuf/Cargo.toml | 1 - src/uu/split/Cargo.toml | 1 - src/uu/stat/Cargo.toml | 3 +++ src/uu/sum/Cargo.toml | 1 - src/uu/sync/Cargo.toml | 3 +++ src/uu/tac/Cargo.toml | 1 - src/uu/tail/Cargo.toml | 2 -- src/uu/tee/Cargo.toml | 1 - src/uu/test/Cargo.toml | 1 - src/uu/timeout/Cargo.toml | 3 +++ src/uu/tr/Cargo.toml | 1 - src/uu/truncate/Cargo.toml | 1 - src/uu/tsort/Cargo.toml | 1 - src/uu/tty/Cargo.toml | 3 +++ src/uu/uname/Cargo.toml | 3 +++ src/uu/unexpand/Cargo.toml | 1 - src/uu/uniq/Cargo.toml | 1 - src/uu/wc/Cargo.toml | 1 - src/uu/who/Cargo.toml | 3 +++ 75 files changed, 74 insertions(+), 54 deletions(-) diff --git a/src/uu/arch/Cargo.toml b/src/uu/arch/Cargo.toml index c7fc4f9f959..16f061aca67 100644 --- a/src/uu/arch/Cargo.toml +++ b/src/uu/arch/Cargo.toml @@ -23,3 +23,6 @@ uucore_procs = { version=">=0.0.7", package="uucore_procs", path="../../uucore_p [[bin]] name = "arch" path = "src/main.rs" + +[package.metadata.cargo-udeps.ignore] +normal = ["uucore_procs"] diff --git a/src/uu/base32/Cargo.toml b/src/uu/base32/Cargo.toml index d5fc40024b3..879051a422e 100644 --- a/src/uu/base32/Cargo.toml +++ b/src/uu/base32/Cargo.toml @@ -24,5 +24,4 @@ name = "base32" path = "src/main.rs" [package.metadata.cargo-udeps.ignore] -# Necessary for "make all" normal = ["uucore_procs"] diff --git a/src/uu/base64/Cargo.toml b/src/uu/base64/Cargo.toml index c8d71b85a46..ed5a3e7aeb3 100644 --- a/src/uu/base64/Cargo.toml +++ b/src/uu/base64/Cargo.toml @@ -25,5 +25,4 @@ name = "base64" path = "src/main.rs" [package.metadata.cargo-udeps.ignore] -# Necessary for "make all" normal = ["uucore_procs"] diff --git a/src/uu/basename/Cargo.toml b/src/uu/basename/Cargo.toml index b7510579088..ed2ff834bec 100644 --- a/src/uu/basename/Cargo.toml +++ b/src/uu/basename/Cargo.toml @@ -24,5 +24,4 @@ name = "basename" path = "src/main.rs" [package.metadata.cargo-udeps.ignore] -# Necessary for "make all" normal = ["uucore_procs"] diff --git a/src/uu/basenc/Cargo.toml b/src/uu/basenc/Cargo.toml index 165d3d3a096..7e177ef6da9 100644 --- a/src/uu/basenc/Cargo.toml +++ b/src/uu/basenc/Cargo.toml @@ -25,5 +25,4 @@ name = "basenc" path = "src/main.rs" [package.metadata.cargo-udeps.ignore] -# Necessary for "make all" normal = ["uucore_procs"] diff --git a/src/uu/cat/Cargo.toml b/src/uu/cat/Cargo.toml index b6b0165efb2..c292aade6c3 100644 --- a/src/uu/cat/Cargo.toml +++ b/src/uu/cat/Cargo.toml @@ -31,3 +31,6 @@ winapi-util = "0.1.5" [[bin]] name = "cat" path = "src/main.rs" + +[package.metadata.cargo-udeps.ignore] +normal = ["uucore_procs"] diff --git a/src/uu/chcon/Cargo.toml b/src/uu/chcon/Cargo.toml index a359f142fe5..55e698c34a1 100644 --- a/src/uu/chcon/Cargo.toml +++ b/src/uu/chcon/Cargo.toml @@ -25,3 +25,6 @@ libc = { version = "0.2" } [[bin]] name = "chcon" path = "src/main.rs" + +[package.metadata.cargo-udeps.ignore] +normal = ["uucore_procs"] diff --git a/src/uu/chgrp/Cargo.toml b/src/uu/chgrp/Cargo.toml index acc03472ca9..1fea1765353 100644 --- a/src/uu/chgrp/Cargo.toml +++ b/src/uu/chgrp/Cargo.toml @@ -22,3 +22,6 @@ uucore_procs = { version=">=0.0.7", package="uucore_procs", path="../../uucore_p [[bin]] name = "chgrp" path = "src/main.rs" + +[package.metadata.cargo-udeps.ignore] +normal = ["uucore_procs"] diff --git a/src/uu/chmod/Cargo.toml b/src/uu/chmod/Cargo.toml index 64961e6dd10..bc2a94948fa 100644 --- a/src/uu/chmod/Cargo.toml +++ b/src/uu/chmod/Cargo.toml @@ -24,3 +24,6 @@ walkdir = "2.2" [[bin]] name = "chmod" path = "src/main.rs" + +[package.metadata.cargo-udeps.ignore] +normal = ["uucore_procs"] diff --git a/src/uu/chown/Cargo.toml b/src/uu/chown/Cargo.toml index 20381c66068..4bf8af3a61a 100644 --- a/src/uu/chown/Cargo.toml +++ b/src/uu/chown/Cargo.toml @@ -22,3 +22,6 @@ uucore_procs = { version=">=0.0.7", package="uucore_procs", path="../../uucore_p [[bin]] name = "chown" path = "src/main.rs" + +[package.metadata.cargo-udeps.ignore] +normal = ["uucore_procs"] diff --git a/src/uu/chroot/Cargo.toml b/src/uu/chroot/Cargo.toml index 362e43b591f..e4477f761e0 100644 --- a/src/uu/chroot/Cargo.toml +++ b/src/uu/chroot/Cargo.toml @@ -22,3 +22,6 @@ uucore_procs = { version=">=0.0.7", package="uucore_procs", path="../../uucore_p [[bin]] name = "chroot" path = "src/main.rs" + +[package.metadata.cargo-udeps.ignore] +normal = ["uucore_procs"] diff --git a/src/uu/cksum/Cargo.toml b/src/uu/cksum/Cargo.toml index b7f81d74b59..a231c0fa406 100644 --- a/src/uu/cksum/Cargo.toml +++ b/src/uu/cksum/Cargo.toml @@ -25,5 +25,4 @@ name = "cksum" path = "src/main.rs" [package.metadata.cargo-udeps.ignore] -# Necessary for "make all" normal = ["uucore_procs"] diff --git a/src/uu/comm/Cargo.toml b/src/uu/comm/Cargo.toml index abcbff57b96..b77a9151606 100644 --- a/src/uu/comm/Cargo.toml +++ b/src/uu/comm/Cargo.toml @@ -25,5 +25,4 @@ name = "comm" path = "src/main.rs" [package.metadata.cargo-udeps.ignore] -# Necessary for "make all" normal = ["uucore_procs"] diff --git a/src/uu/cp/Cargo.toml b/src/uu/cp/Cargo.toml index 891bf0244fa..eb4fa6163a4 100644 --- a/src/uu/cp/Cargo.toml +++ b/src/uu/cp/Cargo.toml @@ -47,5 +47,4 @@ feat_selinux = ["selinux"] feat_acl = ["exacl"] [package.metadata.cargo-udeps.ignore] -# Necessary for "make all" normal = ["uucore_procs"] diff --git a/src/uu/csplit/Cargo.toml b/src/uu/csplit/Cargo.toml index b76e942ee59..3168c8f9a73 100644 --- a/src/uu/csplit/Cargo.toml +++ b/src/uu/csplit/Cargo.toml @@ -26,5 +26,4 @@ name = "csplit" path = "src/main.rs" [package.metadata.cargo-udeps.ignore] -# Necessary for "make all" normal = ["uucore_procs"] diff --git a/src/uu/cut/Cargo.toml b/src/uu/cut/Cargo.toml index 991e3c449e4..8f868130b8e 100644 --- a/src/uu/cut/Cargo.toml +++ b/src/uu/cut/Cargo.toml @@ -27,5 +27,4 @@ name = "cut" path = "src/main.rs" [package.metadata.cargo-udeps.ignore] -# Necessary for "make all" normal = ["uucore_procs"] diff --git a/src/uu/date/Cargo.toml b/src/uu/date/Cargo.toml index b1077fbe1be..19f74e4c6a9 100644 --- a/src/uu/date/Cargo.toml +++ b/src/uu/date/Cargo.toml @@ -31,5 +31,4 @@ name = "date" path = "src/main.rs" [package.metadata.cargo-udeps.ignore] -# Necessary for "make all" normal = ["uucore_procs"] diff --git a/src/uu/dd/Cargo.toml b/src/uu/dd/Cargo.toml index e26c141cbc2..968996b2827 100644 --- a/src/uu/dd/Cargo.toml +++ b/src/uu/dd/Cargo.toml @@ -33,5 +33,4 @@ name = "dd" path = "src/main.rs" [package.metadata.cargo-udeps.ignore] -# Necessary for "make all" normal = ["uucore_procs"] diff --git a/src/uu/df/Cargo.toml b/src/uu/df/Cargo.toml index 9486640d0d9..a2d21dc3afb 100644 --- a/src/uu/df/Cargo.toml +++ b/src/uu/df/Cargo.toml @@ -23,3 +23,6 @@ uucore_procs = { version=">=0.0.7", package="uucore_procs", path="../../uucore_p [[bin]] name = "df" path = "src/main.rs" + +[package.metadata.cargo-udeps.ignore] +normal = ["uucore_procs"] diff --git a/src/uu/dircolors/Cargo.toml b/src/uu/dircolors/Cargo.toml index 0bf53d91abf..1c158e961ef 100644 --- a/src/uu/dircolors/Cargo.toml +++ b/src/uu/dircolors/Cargo.toml @@ -25,5 +25,4 @@ name = "dircolors" path = "src/main.rs" [package.metadata.cargo-udeps.ignore] -# Necessary for "make all" normal = ["uucore_procs"] diff --git a/src/uu/expand/Cargo.toml b/src/uu/expand/Cargo.toml index efd338dab95..18f80098559 100644 --- a/src/uu/expand/Cargo.toml +++ b/src/uu/expand/Cargo.toml @@ -25,5 +25,4 @@ name = "expand" path = "src/main.rs" [package.metadata.cargo-udeps.ignore] -# Necessary for "make all" normal = ["uucore_procs"] diff --git a/src/uu/expr/Cargo.toml b/src/uu/expr/Cargo.toml index 90a53f2ce23..ee34112bd24 100644 --- a/src/uu/expr/Cargo.toml +++ b/src/uu/expr/Cargo.toml @@ -28,5 +28,4 @@ name = "expr" path = "src/main.rs" [package.metadata.cargo-udeps.ignore] -# Necessary for "make all" normal = ["uucore_procs"] diff --git a/src/uu/factor/Cargo.toml b/src/uu/factor/Cargo.toml index f79afeecf31..4e9403bc26b 100644 --- a/src/uu/factor/Cargo.toml +++ b/src/uu/factor/Cargo.toml @@ -36,5 +36,4 @@ path = "src/main.rs" path = "src/cli.rs" [package.metadata.cargo-udeps.ignore] -# Necessary for "make all" normal = ["uucore_procs"] diff --git a/src/uu/fmt/Cargo.toml b/src/uu/fmt/Cargo.toml index a4700cb5e78..7cc6c135e61 100644 --- a/src/uu/fmt/Cargo.toml +++ b/src/uu/fmt/Cargo.toml @@ -26,5 +26,4 @@ name = "fmt" path = "src/main.rs" [package.metadata.cargo-udeps.ignore] -# Necessary for "make all" normal = ["uucore_procs"] diff --git a/src/uu/fold/Cargo.toml b/src/uu/fold/Cargo.toml index ce2aeead412..5942286ad95 100644 --- a/src/uu/fold/Cargo.toml +++ b/src/uu/fold/Cargo.toml @@ -24,5 +24,4 @@ name = "fold" path = "src/main.rs" [package.metadata.cargo-udeps.ignore] -# Necessary for "make all" normal = ["uucore_procs"] diff --git a/src/uu/groups/Cargo.toml b/src/uu/groups/Cargo.toml index 6ac210692b8..3a86a00240c 100644 --- a/src/uu/groups/Cargo.toml +++ b/src/uu/groups/Cargo.toml @@ -22,3 +22,6 @@ clap = { version = "2.33", features = ["wrap_help"] } [[bin]] name = "groups" path = "src/main.rs" + +[package.metadata.cargo-udeps.ignore] +normal = ["uucore_procs"] diff --git a/src/uu/hashsum/Cargo.toml b/src/uu/hashsum/Cargo.toml index 67b0f9e02a5..191f4e47bb0 100644 --- a/src/uu/hashsum/Cargo.toml +++ b/src/uu/hashsum/Cargo.toml @@ -35,5 +35,4 @@ name = "hashsum" path = "src/main.rs" [package.metadata.cargo-udeps.ignore] -# Necessary for "make all" normal = ["uucore_procs"] diff --git a/src/uu/head/Cargo.toml b/src/uu/head/Cargo.toml index aa32a899a97..f22fc9afd06 100644 --- a/src/uu/head/Cargo.toml +++ b/src/uu/head/Cargo.toml @@ -25,5 +25,4 @@ name = "head" path = "src/main.rs" [package.metadata.cargo-udeps.ignore] -# Necessary for "make all" normal = ["uucore_procs"] diff --git a/src/uu/hostname/Cargo.toml b/src/uu/hostname/Cargo.toml index daaeb48f73c..0f50774f040 100644 --- a/src/uu/hostname/Cargo.toml +++ b/src/uu/hostname/Cargo.toml @@ -25,3 +25,6 @@ winapi = { version="0.3", features=["sysinfoapi", "winsock2"] } [[bin]] name = "hostname" path = "src/main.rs" + +[package.metadata.cargo-udeps.ignore] +normal = ["uucore_procs", "winapi"] diff --git a/src/uu/join/Cargo.toml b/src/uu/join/Cargo.toml index 1c140f5442d..7ce287c6193 100644 --- a/src/uu/join/Cargo.toml +++ b/src/uu/join/Cargo.toml @@ -24,5 +24,4 @@ name = "join" path = "src/main.rs" [package.metadata.cargo-udeps.ignore] -# Necessary for "make all" normal = ["uucore_procs"] diff --git a/src/uu/link/Cargo.toml b/src/uu/link/Cargo.toml index 275d3b5ccd6..6a69b774e5e 100644 --- a/src/uu/link/Cargo.toml +++ b/src/uu/link/Cargo.toml @@ -25,5 +25,4 @@ name = "link" path = "src/main.rs" [package.metadata.cargo-udeps.ignore] -# Necessary for "make all" normal = ["uucore_procs"] diff --git a/src/uu/logname/Cargo.toml b/src/uu/logname/Cargo.toml index ed19ff8875c..b8c23ea9a52 100644 --- a/src/uu/logname/Cargo.toml +++ b/src/uu/logname/Cargo.toml @@ -23,3 +23,6 @@ uucore_procs = { version=">=0.0.7", package="uucore_procs", path="../../uucore_p [[bin]] name = "logname" path = "src/main.rs" + +[package.metadata.cargo-udeps.ignore] +normal = ["uucore_procs"] diff --git a/src/uu/ls/Cargo.toml b/src/uu/ls/Cargo.toml index b918f65011e..4eff804e000 100644 --- a/src/uu/ls/Cargo.toml +++ b/src/uu/ls/Cargo.toml @@ -40,5 +40,4 @@ path = "src/main.rs" feat_selinux = ["selinux"] [package.metadata.cargo-udeps.ignore] -# Necessary for "make all" normal = ["uucore_procs"] diff --git a/src/uu/mkfifo/Cargo.toml b/src/uu/mkfifo/Cargo.toml index acf38f6bc84..fa4c458fc15 100644 --- a/src/uu/mkfifo/Cargo.toml +++ b/src/uu/mkfifo/Cargo.toml @@ -23,3 +23,6 @@ uucore_procs = { version=">=0.0.7", package="uucore_procs", path="../../uucore_p [[bin]] name = "mkfifo" path = "src/main.rs" + +[package.metadata.cargo-udeps.ignore] +normal = ["uucore_procs"] diff --git a/src/uu/mknod/Cargo.toml b/src/uu/mknod/Cargo.toml index 046e4b8d0a3..95d890d6edb 100644 --- a/src/uu/mknod/Cargo.toml +++ b/src/uu/mknod/Cargo.toml @@ -24,3 +24,6 @@ uucore_procs = { version=">=0.0.7", package="uucore_procs", path="../../uucore_p [[bin]] name = "mknod" path = "src/main.rs" + +[package.metadata.cargo-udeps.ignore] +normal = ["uucore_procs"] diff --git a/src/uu/more/Cargo.toml b/src/uu/more/Cargo.toml index 0111376f9b6..41aa469c8b6 100644 --- a/src/uu/more/Cargo.toml +++ b/src/uu/more/Cargo.toml @@ -35,5 +35,4 @@ name = "more" path = "src/main.rs" [package.metadata.cargo-udeps.ignore] -# Necessary for "make all" normal = ["uucore_procs"] diff --git a/src/uu/mv/Cargo.toml b/src/uu/mv/Cargo.toml index 6dd129af9d4..415065182d7 100644 --- a/src/uu/mv/Cargo.toml +++ b/src/uu/mv/Cargo.toml @@ -25,5 +25,4 @@ name = "mv" path = "src/main.rs" [package.metadata.cargo-udeps.ignore] -# Necessary for "make all" normal = ["uucore_procs"] diff --git a/src/uu/nice/Cargo.toml b/src/uu/nice/Cargo.toml index ac719a76847..b168ed98ec2 100644 --- a/src/uu/nice/Cargo.toml +++ b/src/uu/nice/Cargo.toml @@ -24,3 +24,6 @@ uucore_procs = { version=">=0.0.7", package="uucore_procs", path="../../uucore_p [[bin]] name = "nice" path = "src/main.rs" + +[package.metadata.cargo-udeps.ignore] +normal = ["uucore_procs"] diff --git a/src/uu/nl/Cargo.toml b/src/uu/nl/Cargo.toml index 781f6502d0e..f9e2cfc5534 100644 --- a/src/uu/nl/Cargo.toml +++ b/src/uu/nl/Cargo.toml @@ -29,5 +29,4 @@ name = "nl" path = "src/main.rs" [package.metadata.cargo-udeps.ignore] -# Necessary for "make all" -normal = ["uucore_procs"] +normal = ["uucore_procs"] \ No newline at end of file diff --git a/src/uu/nohup/Cargo.toml b/src/uu/nohup/Cargo.toml index c2f3c329e82..9fa2f009a60 100644 --- a/src/uu/nohup/Cargo.toml +++ b/src/uu/nohup/Cargo.toml @@ -24,3 +24,6 @@ uucore_procs = { version=">=0.0.7", package="uucore_procs", path="../../uucore_p [[bin]] name = "nohup" path = "src/main.rs" + +[package.metadata.cargo-udeps.ignore] +normal = ["uucore_procs"] diff --git a/src/uu/nproc/Cargo.toml b/src/uu/nproc/Cargo.toml index 3c44062bd72..49c5842372c 100644 --- a/src/uu/nproc/Cargo.toml +++ b/src/uu/nproc/Cargo.toml @@ -24,3 +24,6 @@ uucore_procs = { version=">=0.0.7", package="uucore_procs", path="../../uucore_p [[bin]] name = "nproc" path = "src/main.rs" + +[package.metadata.cargo-udeps.ignore] +normal = ["uucore_procs"] diff --git a/src/uu/numfmt/Cargo.toml b/src/uu/numfmt/Cargo.toml index 60bfb3b1454..29313350ff3 100644 --- a/src/uu/numfmt/Cargo.toml +++ b/src/uu/numfmt/Cargo.toml @@ -24,5 +24,4 @@ name = "numfmt" path = "src/main.rs" [package.metadata.cargo-udeps.ignore] -# Necessary for "make all" -normal = ["uucore_procs"] +normal = ["uucore_procs"] \ No newline at end of file diff --git a/src/uu/od/Cargo.toml b/src/uu/od/Cargo.toml index a6b5bc433b7..7541eaba12e 100644 --- a/src/uu/od/Cargo.toml +++ b/src/uu/od/Cargo.toml @@ -27,5 +27,4 @@ name = "od" path = "src/main.rs" [package.metadata.cargo-udeps.ignore] -# Necessary for "make all" normal = ["uucore_procs"] diff --git a/src/uu/paste/Cargo.toml b/src/uu/paste/Cargo.toml index aeba6f68e21..078d5bcc3a9 100644 --- a/src/uu/paste/Cargo.toml +++ b/src/uu/paste/Cargo.toml @@ -24,5 +24,4 @@ name = "paste" path = "src/main.rs" [package.metadata.cargo-udeps.ignore] -# Necessary for "make all" normal = ["uucore_procs"] diff --git a/src/uu/pathchk/Cargo.toml b/src/uu/pathchk/Cargo.toml index 79e0c251b29..22a5bf63d3e 100644 --- a/src/uu/pathchk/Cargo.toml +++ b/src/uu/pathchk/Cargo.toml @@ -23,3 +23,6 @@ uucore_procs = { version=">=0.0.7", package="uucore_procs", path="../../uucore_p [[bin]] name = "pathchk" path = "src/main.rs" + +[package.metadata.cargo-udeps.ignore] +normal = ["uucore_procs"] diff --git a/src/uu/pinky/Cargo.toml b/src/uu/pinky/Cargo.toml index 297d40642df..a4915e9f382 100644 --- a/src/uu/pinky/Cargo.toml +++ b/src/uu/pinky/Cargo.toml @@ -22,3 +22,6 @@ clap = { version = "2.33", features = ["wrap_help"] } [[bin]] name = "pinky" path = "src/main.rs" + +[package.metadata.cargo-udeps.ignore] +normal = ["uucore_procs"] diff --git a/src/uu/pr/Cargo.toml b/src/uu/pr/Cargo.toml index 499ee77262b..9a8f6de8b00 100644 --- a/src/uu/pr/Cargo.toml +++ b/src/uu/pr/Cargo.toml @@ -29,5 +29,4 @@ name = "pr" path = "src/main.rs" [package.metadata.cargo-udeps.ignore] -# Necessary for "make all" normal = ["uucore_procs"] diff --git a/src/uu/printenv/Cargo.toml b/src/uu/printenv/Cargo.toml index eaf482b21aa..799e114bcac 100644 --- a/src/uu/printenv/Cargo.toml +++ b/src/uu/printenv/Cargo.toml @@ -24,5 +24,4 @@ name = "printenv" path = "src/main.rs" [package.metadata.cargo-udeps.ignore] -# Necessary for "make all" normal = ["uucore_procs"] diff --git a/src/uu/printf/Cargo.toml b/src/uu/printf/Cargo.toml index 50c454db5e1..a53f77356c4 100644 --- a/src/uu/printf/Cargo.toml +++ b/src/uu/printf/Cargo.toml @@ -28,5 +28,4 @@ name = "printf" path = "src/main.rs" [package.metadata.cargo-udeps.ignore] -# Necessary for "make all" normal = ["uucore_procs"] diff --git a/src/uu/ptx/Cargo.toml b/src/uu/ptx/Cargo.toml index 06eb15ee891..75c8c3fe18a 100644 --- a/src/uu/ptx/Cargo.toml +++ b/src/uu/ptx/Cargo.toml @@ -29,5 +29,4 @@ name = "ptx" path = "src/main.rs" [package.metadata.cargo-udeps.ignore] -# Necessary for "make all" normal = ["uucore_procs"] diff --git a/src/uu/readlink/Cargo.toml b/src/uu/readlink/Cargo.toml index d126a3835a8..0d22c7f20c0 100644 --- a/src/uu/readlink/Cargo.toml +++ b/src/uu/readlink/Cargo.toml @@ -25,5 +25,4 @@ name = "readlink" path = "src/main.rs" [package.metadata.cargo-udeps.ignore] -# Necessary for "make all" normal = ["uucore_procs"] diff --git a/src/uu/realpath/Cargo.toml b/src/uu/realpath/Cargo.toml index 4be39f97893..4d2f8341edc 100644 --- a/src/uu/realpath/Cargo.toml +++ b/src/uu/realpath/Cargo.toml @@ -24,5 +24,4 @@ name = "realpath" path = "src/main.rs" [package.metadata.cargo-udeps.ignore] -# Necessary for "make all" normal = ["uucore_procs"] diff --git a/src/uu/relpath/Cargo.toml b/src/uu/relpath/Cargo.toml index f1ddf87dca7..d32992aed7e 100644 --- a/src/uu/relpath/Cargo.toml +++ b/src/uu/relpath/Cargo.toml @@ -24,5 +24,4 @@ name = "relpath" path = "src/main.rs" [package.metadata.cargo-udeps.ignore] -# Necessary for "make all" normal = ["uucore_procs"] diff --git a/src/uu/rm/Cargo.toml b/src/uu/rm/Cargo.toml index 757fa8b22ec..59f83773990 100644 --- a/src/uu/rm/Cargo.toml +++ b/src/uu/rm/Cargo.toml @@ -29,5 +29,4 @@ name = "rm" path = "src/main.rs" [package.metadata.cargo-udeps.ignore] -# Necessary for "make all" normal = ["uucore_procs"] diff --git a/src/uu/seq/Cargo.toml b/src/uu/seq/Cargo.toml index 5aeffd3b98a..a2d52fca3f5 100644 --- a/src/uu/seq/Cargo.toml +++ b/src/uu/seq/Cargo.toml @@ -28,5 +28,4 @@ name = "seq" path = "src/main.rs" [package.metadata.cargo-udeps.ignore] -# Necessary for "make all" normal = ["uucore_procs"] diff --git a/src/uu/shred/Cargo.toml b/src/uu/shred/Cargo.toml index 00356d70135..5a2856b2077 100644 --- a/src/uu/shred/Cargo.toml +++ b/src/uu/shred/Cargo.toml @@ -26,5 +26,4 @@ name = "shred" path = "src/main.rs" [package.metadata.cargo-udeps.ignore] -# Necessary for "make all" normal = ["uucore_procs"] diff --git a/src/uu/shuf/Cargo.toml b/src/uu/shuf/Cargo.toml index 35da4114580..5ee75a249b4 100644 --- a/src/uu/shuf/Cargo.toml +++ b/src/uu/shuf/Cargo.toml @@ -25,5 +25,4 @@ name = "shuf" path = "src/main.rs" [package.metadata.cargo-udeps.ignore] -# Necessary for "make all" normal = ["uucore_procs"] diff --git a/src/uu/split/Cargo.toml b/src/uu/split/Cargo.toml index 44d0350b29b..24a24631d42 100644 --- a/src/uu/split/Cargo.toml +++ b/src/uu/split/Cargo.toml @@ -24,5 +24,4 @@ name = "split" path = "src/main.rs" [package.metadata.cargo-udeps.ignore] -# Necessary for "make all" normal = ["uucore_procs"] diff --git a/src/uu/stat/Cargo.toml b/src/uu/stat/Cargo.toml index a1f168b14fe..54dd0e8262b 100644 --- a/src/uu/stat/Cargo.toml +++ b/src/uu/stat/Cargo.toml @@ -22,3 +22,6 @@ uucore_procs = { version=">=0.0.7", package="uucore_procs", path="../../uucore_p [[bin]] name = "stat" path = "src/main.rs" + +[package.metadata.cargo-udeps.ignore] +normal = ["uucore_procs"] diff --git a/src/uu/sum/Cargo.toml b/src/uu/sum/Cargo.toml index 273f9dff980..5f5a9d6425b 100644 --- a/src/uu/sum/Cargo.toml +++ b/src/uu/sum/Cargo.toml @@ -24,5 +24,4 @@ name = "sum" path = "src/main.rs" [package.metadata.cargo-udeps.ignore] -# Necessary for "make all" normal = ["uucore_procs"] diff --git a/src/uu/sync/Cargo.toml b/src/uu/sync/Cargo.toml index 4bf2c60b3f7..d0fa6bcdcf6 100644 --- a/src/uu/sync/Cargo.toml +++ b/src/uu/sync/Cargo.toml @@ -24,3 +24,6 @@ winapi = { version = "0.3", features = ["errhandlingapi", "fileapi", "handleapi" [[bin]] name = "sync" path = "src/main.rs" + +[package.metadata.cargo-udeps.ignore] +normal = ["uucore_procs", "winapi"] diff --git a/src/uu/tac/Cargo.toml b/src/uu/tac/Cargo.toml index 6840d6bc300..253ab4e2cea 100644 --- a/src/uu/tac/Cargo.toml +++ b/src/uu/tac/Cargo.toml @@ -29,5 +29,4 @@ name = "tac" path = "src/main.rs" [package.metadata.cargo-udeps.ignore] -# Necessary for "make all" normal = ["uucore_procs"] diff --git a/src/uu/tail/Cargo.toml b/src/uu/tail/Cargo.toml index f288846ea1c..af36585a260 100644 --- a/src/uu/tail/Cargo.toml +++ b/src/uu/tail/Cargo.toml @@ -28,12 +28,10 @@ redox_syscall = "0.2" [target.'cfg(unix)'.dependencies] nix = "0.20" -libc = "0.2" [[bin]] name = "tail" path = "src/main.rs" [package.metadata.cargo-udeps.ignore] -# Necessary for "make all" normal = ["uucore_procs"] diff --git a/src/uu/tee/Cargo.toml b/src/uu/tee/Cargo.toml index 00a250565e8..1c263c59619 100644 --- a/src/uu/tee/Cargo.toml +++ b/src/uu/tee/Cargo.toml @@ -26,5 +26,4 @@ name = "tee" path = "src/main.rs" [package.metadata.cargo-udeps.ignore] -# Necessary for "make all" normal = ["uucore_procs"] diff --git a/src/uu/test/Cargo.toml b/src/uu/test/Cargo.toml index 633e0f323f2..09d61faaf61 100644 --- a/src/uu/test/Cargo.toml +++ b/src/uu/test/Cargo.toml @@ -28,5 +28,4 @@ name = "test" path = "src/main.rs" [package.metadata.cargo-udeps.ignore] -# Necessary for "make all" normal = ["uucore_procs"] diff --git a/src/uu/timeout/Cargo.toml b/src/uu/timeout/Cargo.toml index 13afe8435e1..36ad3cb7527 100644 --- a/src/uu/timeout/Cargo.toml +++ b/src/uu/timeout/Cargo.toml @@ -25,3 +25,6 @@ uucore_procs = { version=">=0.0.7", package="uucore_procs", path="../../uucore_p [[bin]] name = "timeout" path = "src/main.rs" + +[package.metadata.cargo-udeps.ignore] +normal = ["uucore_procs"] diff --git a/src/uu/tr/Cargo.toml b/src/uu/tr/Cargo.toml index 8792938a9a5..d2742653908 100644 --- a/src/uu/tr/Cargo.toml +++ b/src/uu/tr/Cargo.toml @@ -26,5 +26,4 @@ name = "tr" path = "src/main.rs" [package.metadata.cargo-udeps.ignore] -# Necessary for "make all" normal = ["uucore_procs"] diff --git a/src/uu/truncate/Cargo.toml b/src/uu/truncate/Cargo.toml index 811aa6ef680..ccb735a4de2 100644 --- a/src/uu/truncate/Cargo.toml +++ b/src/uu/truncate/Cargo.toml @@ -24,5 +24,4 @@ name = "truncate" path = "src/main.rs" [package.metadata.cargo-udeps.ignore] -# Necessary for "make all" normal = ["uucore_procs"] diff --git a/src/uu/tsort/Cargo.toml b/src/uu/tsort/Cargo.toml index bcc2dd75742..e0a9634f607 100644 --- a/src/uu/tsort/Cargo.toml +++ b/src/uu/tsort/Cargo.toml @@ -24,5 +24,4 @@ name = "tsort" path = "src/main.rs" [package.metadata.cargo-udeps.ignore] -# Necessary for "make all" normal = ["uucore_procs"] diff --git a/src/uu/tty/Cargo.toml b/src/uu/tty/Cargo.toml index 5b2e18cd2ef..b5d36f304df 100644 --- a/src/uu/tty/Cargo.toml +++ b/src/uu/tty/Cargo.toml @@ -24,3 +24,6 @@ uucore_procs = { version=">=0.0.7", package="uucore_procs", path="../../uucore_p [[bin]] name = "tty" path = "src/main.rs" + +[package.metadata.cargo-udeps.ignore] +normal = ["uucore_procs"] diff --git a/src/uu/uname/Cargo.toml b/src/uu/uname/Cargo.toml index 90a1030755e..0c75f9ad2a3 100644 --- a/src/uu/uname/Cargo.toml +++ b/src/uu/uname/Cargo.toml @@ -23,3 +23,6 @@ uucore_procs = { version=">=0.0.7", package="uucore_procs", path="../../uucore_p [[bin]] name = "uname" path = "src/main.rs" + +[package.metadata.cargo-udeps.ignore] +normal = ["uucore_procs"] diff --git a/src/uu/unexpand/Cargo.toml b/src/uu/unexpand/Cargo.toml index 026a12872f1..3345e64c280 100644 --- a/src/uu/unexpand/Cargo.toml +++ b/src/uu/unexpand/Cargo.toml @@ -25,5 +25,4 @@ name = "unexpand" path = "src/main.rs" [package.metadata.cargo-udeps.ignore] -# Necessary for "make all" normal = ["uucore_procs"] diff --git a/src/uu/uniq/Cargo.toml b/src/uu/uniq/Cargo.toml index a6fcebc9221..03cecad8706 100644 --- a/src/uu/uniq/Cargo.toml +++ b/src/uu/uniq/Cargo.toml @@ -26,5 +26,4 @@ name = "uniq" path = "src/main.rs" [package.metadata.cargo-udeps.ignore] -# Necessary for "make all" normal = ["uucore_procs"] diff --git a/src/uu/wc/Cargo.toml b/src/uu/wc/Cargo.toml index d76e0b1765c..aca35d7d612 100644 --- a/src/uu/wc/Cargo.toml +++ b/src/uu/wc/Cargo.toml @@ -31,5 +31,4 @@ name = "wc" path = "src/main.rs" [package.metadata.cargo-udeps.ignore] -# Necessary for "make all" normal = ["uucore_procs"] diff --git a/src/uu/who/Cargo.toml b/src/uu/who/Cargo.toml index c660be59d58..58830692769 100644 --- a/src/uu/who/Cargo.toml +++ b/src/uu/who/Cargo.toml @@ -22,3 +22,6 @@ clap = { version = "2.33", features = ["wrap_help"] } [[bin]] name = "who" path = "src/main.rs" + +[package.metadata.cargo-udeps.ignore] +normal = ["uucore_procs"]