Skip to content

Commit

Permalink
maint/CICD ~ (GHA) fix cargo-udeps false positives (add 'ignore' ex…
Browse files Browse the repository at this point in the history
…ceptions to sub-crates)
  • Loading branch information
rivy committed Nov 17, 2021
1 parent 267f58a commit 736a00d
Show file tree
Hide file tree
Showing 75 changed files with 74 additions and 54 deletions.
3 changes: 3 additions & 0 deletions src/uu/arch/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
1 change: 0 additions & 1 deletion src/uu/base32/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,4 @@ name = "base32"
path = "src/main.rs"

[package.metadata.cargo-udeps.ignore]
# Necessary for "make all"
normal = ["uucore_procs"]
1 change: 0 additions & 1 deletion src/uu/base64/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,4 @@ name = "base64"
path = "src/main.rs"

[package.metadata.cargo-udeps.ignore]
# Necessary for "make all"
normal = ["uucore_procs"]
1 change: 0 additions & 1 deletion src/uu/basename/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,4 @@ name = "basename"
path = "src/main.rs"

[package.metadata.cargo-udeps.ignore]
# Necessary for "make all"
normal = ["uucore_procs"]
1 change: 0 additions & 1 deletion src/uu/basenc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,4 @@ name = "basenc"
path = "src/main.rs"

[package.metadata.cargo-udeps.ignore]
# Necessary for "make all"
normal = ["uucore_procs"]
3 changes: 3 additions & 0 deletions src/uu/cat/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,6 @@ winapi-util = "0.1.5"
[[bin]]
name = "cat"
path = "src/main.rs"

[package.metadata.cargo-udeps.ignore]
normal = ["uucore_procs"]
3 changes: 3 additions & 0 deletions src/uu/chcon/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,6 @@ libc = { version = "0.2" }
[[bin]]
name = "chcon"
path = "src/main.rs"

[package.metadata.cargo-udeps.ignore]
normal = ["uucore_procs"]
3 changes: 3 additions & 0 deletions src/uu/chgrp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
3 changes: 3 additions & 0 deletions src/uu/chmod/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,6 @@ walkdir = "2.2"
[[bin]]
name = "chmod"
path = "src/main.rs"

[package.metadata.cargo-udeps.ignore]
normal = ["uucore_procs"]
3 changes: 3 additions & 0 deletions src/uu/chown/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
3 changes: 3 additions & 0 deletions src/uu/chroot/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
1 change: 0 additions & 1 deletion src/uu/cksum/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,4 @@ name = "cksum"
path = "src/main.rs"

[package.metadata.cargo-udeps.ignore]
# Necessary for "make all"
normal = ["uucore_procs"]
1 change: 0 additions & 1 deletion src/uu/comm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,4 @@ name = "comm"
path = "src/main.rs"

[package.metadata.cargo-udeps.ignore]
# Necessary for "make all"
normal = ["uucore_procs"]
1 change: 0 additions & 1 deletion src/uu/cp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,4 @@ feat_selinux = ["selinux"]
feat_acl = ["exacl"]

[package.metadata.cargo-udeps.ignore]
# Necessary for "make all"
normal = ["uucore_procs"]
1 change: 0 additions & 1 deletion src/uu/csplit/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,4 @@ name = "csplit"
path = "src/main.rs"

[package.metadata.cargo-udeps.ignore]
# Necessary for "make all"
normal = ["uucore_procs"]
1 change: 0 additions & 1 deletion src/uu/cut/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,4 @@ name = "cut"
path = "src/main.rs"

[package.metadata.cargo-udeps.ignore]
# Necessary for "make all"
normal = ["uucore_procs"]
1 change: 0 additions & 1 deletion src/uu/date/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,4 @@ name = "date"
path = "src/main.rs"

[package.metadata.cargo-udeps.ignore]
# Necessary for "make all"
normal = ["uucore_procs"]
1 change: 0 additions & 1 deletion src/uu/dd/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,4 @@ name = "dd"
path = "src/main.rs"

[package.metadata.cargo-udeps.ignore]
# Necessary for "make all"
normal = ["uucore_procs"]
3 changes: 3 additions & 0 deletions src/uu/df/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
1 change: 0 additions & 1 deletion src/uu/dircolors/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,4 @@ name = "dircolors"
path = "src/main.rs"

[package.metadata.cargo-udeps.ignore]
# Necessary for "make all"
normal = ["uucore_procs"]
1 change: 0 additions & 1 deletion src/uu/expand/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,4 @@ name = "expand"
path = "src/main.rs"

[package.metadata.cargo-udeps.ignore]
# Necessary for "make all"
normal = ["uucore_procs"]
1 change: 0 additions & 1 deletion src/uu/expr/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,4 @@ name = "expr"
path = "src/main.rs"

[package.metadata.cargo-udeps.ignore]
# Necessary for "make all"
normal = ["uucore_procs"]
1 change: 0 additions & 1 deletion src/uu/factor/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,4 @@ path = "src/main.rs"
path = "src/cli.rs"

[package.metadata.cargo-udeps.ignore]
# Necessary for "make all"
normal = ["uucore_procs"]
1 change: 0 additions & 1 deletion src/uu/fmt/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,4 @@ name = "fmt"
path = "src/main.rs"

[package.metadata.cargo-udeps.ignore]
# Necessary for "make all"
normal = ["uucore_procs"]
1 change: 0 additions & 1 deletion src/uu/fold/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,4 @@ name = "fold"
path = "src/main.rs"

[package.metadata.cargo-udeps.ignore]
# Necessary for "make all"
normal = ["uucore_procs"]
3 changes: 3 additions & 0 deletions src/uu/groups/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
1 change: 0 additions & 1 deletion src/uu/hashsum/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,4 @@ name = "hashsum"
path = "src/main.rs"

[package.metadata.cargo-udeps.ignore]
# Necessary for "make all"
normal = ["uucore_procs"]
1 change: 0 additions & 1 deletion src/uu/head/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,4 @@ name = "head"
path = "src/main.rs"

[package.metadata.cargo-udeps.ignore]
# Necessary for "make all"
normal = ["uucore_procs"]
3 changes: 3 additions & 0 deletions src/uu/hostname/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
1 change: 0 additions & 1 deletion src/uu/join/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,4 @@ name = "join"
path = "src/main.rs"

[package.metadata.cargo-udeps.ignore]
# Necessary for "make all"
normal = ["uucore_procs"]
1 change: 0 additions & 1 deletion src/uu/link/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,4 @@ name = "link"
path = "src/main.rs"

[package.metadata.cargo-udeps.ignore]
# Necessary for "make all"
normal = ["uucore_procs"]
3 changes: 3 additions & 0 deletions src/uu/logname/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
1 change: 0 additions & 1 deletion src/uu/ls/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,4 @@ path = "src/main.rs"
feat_selinux = ["selinux"]

[package.metadata.cargo-udeps.ignore]
# Necessary for "make all"
normal = ["uucore_procs"]
3 changes: 3 additions & 0 deletions src/uu/mkfifo/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
3 changes: 3 additions & 0 deletions src/uu/mknod/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
1 change: 0 additions & 1 deletion src/uu/more/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,4 @@ name = "more"
path = "src/main.rs"

[package.metadata.cargo-udeps.ignore]
# Necessary for "make all"
normal = ["uucore_procs"]
1 change: 0 additions & 1 deletion src/uu/mv/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,4 @@ name = "mv"
path = "src/main.rs"

[package.metadata.cargo-udeps.ignore]
# Necessary for "make all"
normal = ["uucore_procs"]
3 changes: 3 additions & 0 deletions src/uu/nice/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
3 changes: 1 addition & 2 deletions src/uu/nl/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
3 changes: 3 additions & 0 deletions src/uu/nohup/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
3 changes: 3 additions & 0 deletions src/uu/nproc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
3 changes: 1 addition & 2 deletions src/uu/numfmt/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
1 change: 0 additions & 1 deletion src/uu/od/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,4 @@ name = "od"
path = "src/main.rs"

[package.metadata.cargo-udeps.ignore]
# Necessary for "make all"
normal = ["uucore_procs"]
1 change: 0 additions & 1 deletion src/uu/paste/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,4 @@ name = "paste"
path = "src/main.rs"

[package.metadata.cargo-udeps.ignore]
# Necessary for "make all"
normal = ["uucore_procs"]
3 changes: 3 additions & 0 deletions src/uu/pathchk/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
3 changes: 3 additions & 0 deletions src/uu/pinky/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
1 change: 0 additions & 1 deletion src/uu/pr/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,4 @@ name = "pr"
path = "src/main.rs"

[package.metadata.cargo-udeps.ignore]
# Necessary for "make all"
normal = ["uucore_procs"]
1 change: 0 additions & 1 deletion src/uu/printenv/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,4 @@ name = "printenv"
path = "src/main.rs"

[package.metadata.cargo-udeps.ignore]
# Necessary for "make all"
normal = ["uucore_procs"]
1 change: 0 additions & 1 deletion src/uu/printf/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,4 @@ name = "printf"
path = "src/main.rs"

[package.metadata.cargo-udeps.ignore]
# Necessary for "make all"
normal = ["uucore_procs"]
1 change: 0 additions & 1 deletion src/uu/ptx/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,4 @@ name = "ptx"
path = "src/main.rs"

[package.metadata.cargo-udeps.ignore]
# Necessary for "make all"
normal = ["uucore_procs"]
1 change: 0 additions & 1 deletion src/uu/readlink/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,4 @@ name = "readlink"
path = "src/main.rs"

[package.metadata.cargo-udeps.ignore]
# Necessary for "make all"
normal = ["uucore_procs"]
1 change: 0 additions & 1 deletion src/uu/realpath/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,4 @@ name = "realpath"
path = "src/main.rs"

[package.metadata.cargo-udeps.ignore]
# Necessary for "make all"
normal = ["uucore_procs"]
1 change: 0 additions & 1 deletion src/uu/relpath/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,4 @@ name = "relpath"
path = "src/main.rs"

[package.metadata.cargo-udeps.ignore]
# Necessary for "make all"
normal = ["uucore_procs"]
1 change: 0 additions & 1 deletion src/uu/rm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,4 @@ name = "rm"
path = "src/main.rs"

[package.metadata.cargo-udeps.ignore]
# Necessary for "make all"
normal = ["uucore_procs"]
1 change: 0 additions & 1 deletion src/uu/seq/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,4 @@ name = "seq"
path = "src/main.rs"

[package.metadata.cargo-udeps.ignore]
# Necessary for "make all"
normal = ["uucore_procs"]
1 change: 0 additions & 1 deletion src/uu/shred/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,4 @@ name = "shred"
path = "src/main.rs"

[package.metadata.cargo-udeps.ignore]
# Necessary for "make all"
normal = ["uucore_procs"]
1 change: 0 additions & 1 deletion src/uu/shuf/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,4 @@ name = "shuf"
path = "src/main.rs"

[package.metadata.cargo-udeps.ignore]
# Necessary for "make all"
normal = ["uucore_procs"]
1 change: 0 additions & 1 deletion src/uu/split/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,4 @@ name = "split"
path = "src/main.rs"

[package.metadata.cargo-udeps.ignore]
# Necessary for "make all"
normal = ["uucore_procs"]
3 changes: 3 additions & 0 deletions src/uu/stat/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
1 change: 0 additions & 1 deletion src/uu/sum/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,4 @@ name = "sum"
path = "src/main.rs"

[package.metadata.cargo-udeps.ignore]
# Necessary for "make all"
normal = ["uucore_procs"]
3 changes: 3 additions & 0 deletions src/uu/sync/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
1 change: 0 additions & 1 deletion src/uu/tac/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,4 @@ name = "tac"
path = "src/main.rs"

[package.metadata.cargo-udeps.ignore]
# Necessary for "make all"
normal = ["uucore_procs"]
Loading

0 comments on commit 736a00d

Please sign in to comment.