diff --git a/.vscode/cspell.dictionaries/workspace.wordlist.txt b/.vscode/cspell.dictionaries/workspace.wordlist.txt index a9829a23c..37cbeb828 100644 --- a/.vscode/cspell.dictionaries/workspace.wordlist.txt +++ b/.vscode/cspell.dictionaries/workspace.wordlist.txt @@ -1,5 +1,6 @@ # * cargo cdylib +doctest rlib # * crates diff --git a/src/uu/arch/Cargo.toml b/src/uu/arch/Cargo.toml index b906a3929..bfd05f47e 100644 --- a/src/uu/arch/Cargo.toml +++ b/src/uu/arch/Cargo.toml @@ -17,6 +17,8 @@ workspace = true [lib] path = "src/arch.rs" +test = false +doctest = false [dependencies] platform-info = { workspace = true } diff --git a/src/uu/b2sum/Cargo.toml b/src/uu/b2sum/Cargo.toml index 866d3558f..98cb070f0 100644 --- a/src/uu/b2sum/Cargo.toml +++ b/src/uu/b2sum/Cargo.toml @@ -17,6 +17,8 @@ workspace = true [lib] path = "src/b2sum.rs" +test = false +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/base32/Cargo.toml b/src/uu/base32/Cargo.toml index bec73709c..a079341ad 100644 --- a/src/uu/base32/Cargo.toml +++ b/src/uu/base32/Cargo.toml @@ -17,6 +17,7 @@ workspace = true [lib] path = "src/base32.rs" +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/base64/Cargo.toml b/src/uu/base64/Cargo.toml index 38742d357..777b7c5a0 100644 --- a/src/uu/base64/Cargo.toml +++ b/src/uu/base64/Cargo.toml @@ -17,6 +17,8 @@ workspace = true [lib] path = "src/base64.rs" +test = false +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/basename/Cargo.toml b/src/uu/basename/Cargo.toml index 00230ea76..7c55d2e51 100644 --- a/src/uu/basename/Cargo.toml +++ b/src/uu/basename/Cargo.toml @@ -17,6 +17,8 @@ workspace = true [lib] path = "src/basename.rs" +test = false +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/basenc/Cargo.toml b/src/uu/basenc/Cargo.toml index c36eb9c23..5888029ee 100644 --- a/src/uu/basenc/Cargo.toml +++ b/src/uu/basenc/Cargo.toml @@ -17,6 +17,8 @@ workspace = true [lib] path = "src/basenc.rs" +test = false +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/cat/Cargo.toml b/src/uu/cat/Cargo.toml index e5c8ca35b..c368c0ce4 100644 --- a/src/uu/cat/Cargo.toml +++ b/src/uu/cat/Cargo.toml @@ -17,6 +17,7 @@ workspace = true [lib] path = "src/cat.rs" +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/chcon/Cargo.toml b/src/uu/chcon/Cargo.toml index 71e2c70e1..39e96d164 100644 --- a/src/uu/chcon/Cargo.toml +++ b/src/uu/chcon/Cargo.toml @@ -17,6 +17,8 @@ workspace = true [lib] path = "src/chcon.rs" +test = false +doctest = false # TODO: block fetching crates without feat_selinux [target.'cfg(any(target_os = "linux", target_os = "android"))'.dependencies] diff --git a/src/uu/checksum_common/Cargo.toml b/src/uu/checksum_common/Cargo.toml index 428e7c425..ab6640dab 100644 --- a/src/uu/checksum_common/Cargo.toml +++ b/src/uu/checksum_common/Cargo.toml @@ -16,6 +16,7 @@ workspace = true [lib] path = "src/lib.rs" +test = false [dependencies] clap = { workspace = true } @@ -27,8 +28,6 @@ uucore = { workspace = true, features = [ ] } fluent = { workspace = true } -[dev-dependencies] - # [[bench]] # name = "b2sum_bench" # harness = false diff --git a/src/uu/chgrp/Cargo.toml b/src/uu/chgrp/Cargo.toml index f6989c88c..8f01aa0b0 100644 --- a/src/uu/chgrp/Cargo.toml +++ b/src/uu/chgrp/Cargo.toml @@ -17,6 +17,8 @@ workspace = true [lib] path = "src/chgrp.rs" +test = false +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/chmod/Cargo.toml b/src/uu/chmod/Cargo.toml index 7ac7d8323..7e0776d14 100644 --- a/src/uu/chmod/Cargo.toml +++ b/src/uu/chmod/Cargo.toml @@ -17,6 +17,7 @@ workspace = true [lib] path = "src/chmod.rs" +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/chown/Cargo.toml b/src/uu/chown/Cargo.toml index 211475c3f..6905ea669 100644 --- a/src/uu/chown/Cargo.toml +++ b/src/uu/chown/Cargo.toml @@ -17,6 +17,7 @@ workspace = true [lib] path = "src/chown.rs" +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/chroot/Cargo.toml b/src/uu/chroot/Cargo.toml index 4b91c1a1f..bcb2ab53e 100644 --- a/src/uu/chroot/Cargo.toml +++ b/src/uu/chroot/Cargo.toml @@ -17,6 +17,8 @@ workspace = true [lib] path = "src/chroot.rs" +test = false +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/cksum/Cargo.toml b/src/uu/cksum/Cargo.toml index 37212eec8..5ada766d6 100644 --- a/src/uu/cksum/Cargo.toml +++ b/src/uu/cksum/Cargo.toml @@ -17,6 +17,8 @@ workspace = true [lib] path = "src/cksum.rs" +test = false +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/comm/Cargo.toml b/src/uu/comm/Cargo.toml index 5f1436e44..bf357a530 100644 --- a/src/uu/comm/Cargo.toml +++ b/src/uu/comm/Cargo.toml @@ -17,6 +17,8 @@ workspace = true [lib] path = "src/comm.rs" +test = false +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/cp/Cargo.toml b/src/uu/cp/Cargo.toml index bea4afc67..1fb668722 100644 --- a/src/uu/cp/Cargo.toml +++ b/src/uu/cp/Cargo.toml @@ -17,6 +17,7 @@ workspace = true [lib] path = "src/cp.rs" +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/csplit/Cargo.toml b/src/uu/csplit/Cargo.toml index e117aa158..a9c6815d6 100644 --- a/src/uu/csplit/Cargo.toml +++ b/src/uu/csplit/Cargo.toml @@ -17,6 +17,7 @@ workspace = true [lib] path = "src/csplit.rs" +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/cut/Cargo.toml b/src/uu/cut/Cargo.toml index e45672e54..ba52715db 100644 --- a/src/uu/cut/Cargo.toml +++ b/src/uu/cut/Cargo.toml @@ -17,6 +17,7 @@ workspace = true [lib] path = "src/cut.rs" +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/date/Cargo.toml b/src/uu/date/Cargo.toml index c82dbd488..41b0d499d 100644 --- a/src/uu/date/Cargo.toml +++ b/src/uu/date/Cargo.toml @@ -18,6 +18,7 @@ workspace = true [lib] path = "src/date.rs" +doctest = false [features] default = ["i18n-datetime"] diff --git a/src/uu/dd/Cargo.toml b/src/uu/dd/Cargo.toml index e92ac0f0f..405fd64da 100644 --- a/src/uu/dd/Cargo.toml +++ b/src/uu/dd/Cargo.toml @@ -17,6 +17,7 @@ workspace = true [lib] path = "src/dd.rs" +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/df/Cargo.toml b/src/uu/df/Cargo.toml index dfb5aea8d..0938d0657 100644 --- a/src/uu/df/Cargo.toml +++ b/src/uu/df/Cargo.toml @@ -17,6 +17,7 @@ workspace = true [lib] path = "src/df.rs" +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/dir/Cargo.toml b/src/uu/dir/Cargo.toml index 79cac6e99..254c909d4 100644 --- a/src/uu/dir/Cargo.toml +++ b/src/uu/dir/Cargo.toml @@ -17,6 +17,8 @@ workspace = true [lib] path = "src/dir.rs" +test = false +doctest = false [dependencies] clap = { workspace = true, features = ["env"] } diff --git a/src/uu/dircolors/Cargo.toml b/src/uu/dircolors/Cargo.toml index 393b3f42f..409ab9944 100644 --- a/src/uu/dircolors/Cargo.toml +++ b/src/uu/dircolors/Cargo.toml @@ -17,6 +17,7 @@ workspace = true [lib] path = "src/dircolors.rs" +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/dirname/Cargo.toml b/src/uu/dirname/Cargo.toml index 76db2b955..5859afdc6 100644 --- a/src/uu/dirname/Cargo.toml +++ b/src/uu/dirname/Cargo.toml @@ -17,6 +17,8 @@ workspace = true [lib] path = "src/dirname.rs" +test = false +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/du/Cargo.toml b/src/uu/du/Cargo.toml index 06f996edc..a45f8bed5 100644 --- a/src/uu/du/Cargo.toml +++ b/src/uu/du/Cargo.toml @@ -17,6 +17,7 @@ workspace = true [lib] path = "src/du.rs" +doctest = false [dependencies] # For the --exclude & --exclude-from options diff --git a/src/uu/echo/Cargo.toml b/src/uu/echo/Cargo.toml index 09babded4..6ef826fa0 100644 --- a/src/uu/echo/Cargo.toml +++ b/src/uu/echo/Cargo.toml @@ -17,6 +17,8 @@ workspace = true [lib] path = "src/echo.rs" +test = false +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/env/Cargo.toml b/src/uu/env/Cargo.toml index b6b5a8cce..ed9d35b69 100644 --- a/src/uu/env/Cargo.toml +++ b/src/uu/env/Cargo.toml @@ -17,6 +17,7 @@ workspace = true [lib] path = "src/env.rs" +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/expand/Cargo.toml b/src/uu/expand/Cargo.toml index 694c47e10..ddb200f76 100644 --- a/src/uu/expand/Cargo.toml +++ b/src/uu/expand/Cargo.toml @@ -17,6 +17,7 @@ workspace = true [lib] path = "src/expand.rs" +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/expr/Cargo.toml b/src/uu/expr/Cargo.toml index 037286d52..a7a807a60 100644 --- a/src/uu/expr/Cargo.toml +++ b/src/uu/expr/Cargo.toml @@ -17,6 +17,7 @@ workspace = true [lib] path = "src/expr.rs" +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/factor/Cargo.toml b/src/uu/factor/Cargo.toml index 01dc46621..f94ef2545 100644 --- a/src/uu/factor/Cargo.toml +++ b/src/uu/factor/Cargo.toml @@ -33,6 +33,7 @@ uucore = { workspace = true, features = ["benchmark"] } [lib] path = "src/factor.rs" +doctest = false [[bench]] name = "factor_bench" diff --git a/src/uu/false/Cargo.toml b/src/uu/false/Cargo.toml index 13df15e04..15a076514 100644 --- a/src/uu/false/Cargo.toml +++ b/src/uu/false/Cargo.toml @@ -18,6 +18,8 @@ workspace = true [lib] path = "src/false.rs" +test = false +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/fmt/Cargo.toml b/src/uu/fmt/Cargo.toml index e882966af..88ba3a78f 100644 --- a/src/uu/fmt/Cargo.toml +++ b/src/uu/fmt/Cargo.toml @@ -17,6 +17,7 @@ workspace = true [lib] path = "src/fmt.rs" +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/fold/Cargo.toml b/src/uu/fold/Cargo.toml index e4e36b205..894be69f3 100644 --- a/src/uu/fold/Cargo.toml +++ b/src/uu/fold/Cargo.toml @@ -17,6 +17,8 @@ workspace = true [lib] path = "src/fold.rs" +test = false +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/groups/Cargo.toml b/src/uu/groups/Cargo.toml index a94827160..c63b95cd3 100644 --- a/src/uu/groups/Cargo.toml +++ b/src/uu/groups/Cargo.toml @@ -17,6 +17,8 @@ workspace = true [lib] path = "src/groups.rs" +test = false +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/head/Cargo.toml b/src/uu/head/Cargo.toml index 353404a77..d236bb831 100644 --- a/src/uu/head/Cargo.toml +++ b/src/uu/head/Cargo.toml @@ -17,6 +17,7 @@ workspace = true [lib] path = "src/head.rs" +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/hostid/Cargo.toml b/src/uu/hostid/Cargo.toml index f4a6414f5..1b0260165 100644 --- a/src/uu/hostid/Cargo.toml +++ b/src/uu/hostid/Cargo.toml @@ -17,6 +17,8 @@ workspace = true [lib] path = "src/hostid.rs" +test = false +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/hostname/Cargo.toml b/src/uu/hostname/Cargo.toml index 4e46e1af8..60f9e9c7e 100644 --- a/src/uu/hostname/Cargo.toml +++ b/src/uu/hostname/Cargo.toml @@ -17,6 +17,8 @@ workspace = true [lib] path = "src/hostname.rs" +test = false +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/id/Cargo.toml b/src/uu/id/Cargo.toml index ce31a65f5..551db19e8 100644 --- a/src/uu/id/Cargo.toml +++ b/src/uu/id/Cargo.toml @@ -17,6 +17,8 @@ workspace = true [lib] path = "src/id.rs" +test = false +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/join/Cargo.toml b/src/uu/join/Cargo.toml index 0f5cd8a2c..af1eff819 100644 --- a/src/uu/join/Cargo.toml +++ b/src/uu/join/Cargo.toml @@ -17,6 +17,8 @@ workspace = true [lib] path = "src/join.rs" +test = false +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/kill/Cargo.toml b/src/uu/kill/Cargo.toml index 0b20e594f..31fb999c9 100644 --- a/src/uu/kill/Cargo.toml +++ b/src/uu/kill/Cargo.toml @@ -17,6 +17,8 @@ workspace = true [lib] path = "src/kill.rs" +test = false +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/link/Cargo.toml b/src/uu/link/Cargo.toml index c1da6b5e0..f1c775a9f 100644 --- a/src/uu/link/Cargo.toml +++ b/src/uu/link/Cargo.toml @@ -17,6 +17,8 @@ workspace = true [lib] path = "src/link.rs" +test = false +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/ln/Cargo.toml b/src/uu/ln/Cargo.toml index 6527ee89a..51922d9d6 100644 --- a/src/uu/ln/Cargo.toml +++ b/src/uu/ln/Cargo.toml @@ -17,6 +17,8 @@ workspace = true [lib] path = "src/ln.rs" +test = false +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/logname/Cargo.toml b/src/uu/logname/Cargo.toml index 8d1e17962..14b6a0cc9 100644 --- a/src/uu/logname/Cargo.toml +++ b/src/uu/logname/Cargo.toml @@ -17,6 +17,8 @@ workspace = true [lib] path = "src/logname.rs" +test = false +doctest = false [dependencies] libc = { workspace = true } diff --git a/src/uu/ls/Cargo.toml b/src/uu/ls/Cargo.toml index b8688819e..08ecae68f 100644 --- a/src/uu/ls/Cargo.toml +++ b/src/uu/ls/Cargo.toml @@ -19,6 +19,7 @@ workspace = true [lib] path = "src/ls.rs" +doctest = false [dependencies] ansi-width = { workspace = true } diff --git a/src/uu/md5sum/Cargo.toml b/src/uu/md5sum/Cargo.toml index de269a099..1aa1e24bc 100644 --- a/src/uu/md5sum/Cargo.toml +++ b/src/uu/md5sum/Cargo.toml @@ -17,6 +17,8 @@ workspace = true [lib] path = "src/md5sum.rs" +test = false +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/mkdir/Cargo.toml b/src/uu/mkdir/Cargo.toml index 394bbbeac..3e5b8ea60 100644 --- a/src/uu/mkdir/Cargo.toml +++ b/src/uu/mkdir/Cargo.toml @@ -17,6 +17,8 @@ workspace = true [lib] path = "src/mkdir.rs" +test = false +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/mkfifo/Cargo.toml b/src/uu/mkfifo/Cargo.toml index 594b91ae7..d0fff7c86 100644 --- a/src/uu/mkfifo/Cargo.toml +++ b/src/uu/mkfifo/Cargo.toml @@ -17,6 +17,8 @@ workspace = true [lib] path = "src/mkfifo.rs" +test = false +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/mknod/Cargo.toml b/src/uu/mknod/Cargo.toml index 2bdcfe5ad..876b1b497 100644 --- a/src/uu/mknod/Cargo.toml +++ b/src/uu/mknod/Cargo.toml @@ -18,6 +18,8 @@ workspace = true [lib] name = "uu_mknod" path = "src/mknod.rs" +test = false +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/mktemp/Cargo.toml b/src/uu/mktemp/Cargo.toml index 5c42d14b6..e974dfcc3 100644 --- a/src/uu/mktemp/Cargo.toml +++ b/src/uu/mktemp/Cargo.toml @@ -17,6 +17,7 @@ workspace = true [lib] path = "src/mktemp.rs" +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/more/Cargo.toml b/src/uu/more/Cargo.toml index 5057cee8a..1cc9d011f 100644 --- a/src/uu/more/Cargo.toml +++ b/src/uu/more/Cargo.toml @@ -17,6 +17,7 @@ workspace = true [lib] path = "src/more.rs" +doctest = false [dependencies] clap = { workspace = true } @@ -24,8 +25,6 @@ crossterm = { workspace = true, features = ["events"] } uucore = { workspace = true } fluent = { workspace = true } -[target.'cfg(all(unix, not(target_os = "fuchsia")))'.dependencies] - [target.'cfg(windows)'.dependencies] crossterm = { workspace = true, features = ["windows"] } diff --git a/src/uu/mv/Cargo.toml b/src/uu/mv/Cargo.toml index 10680abd4..2327ee589 100644 --- a/src/uu/mv/Cargo.toml +++ b/src/uu/mv/Cargo.toml @@ -17,6 +17,7 @@ workspace = true [lib] path = "src/mv.rs" +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/nice/Cargo.toml b/src/uu/nice/Cargo.toml index 45703c435..a4754d8a4 100644 --- a/src/uu/nice/Cargo.toml +++ b/src/uu/nice/Cargo.toml @@ -17,6 +17,8 @@ workspace = true [lib] path = "src/nice.rs" +test = false +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/nl/Cargo.toml b/src/uu/nl/Cargo.toml index 5818dfa91..71c22e96e 100644 --- a/src/uu/nl/Cargo.toml +++ b/src/uu/nl/Cargo.toml @@ -17,6 +17,7 @@ workspace = true [lib] path = "src/nl.rs" +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/nohup/Cargo.toml b/src/uu/nohup/Cargo.toml index 4b9d0213b..a600d11e4 100644 --- a/src/uu/nohup/Cargo.toml +++ b/src/uu/nohup/Cargo.toml @@ -17,6 +17,8 @@ workspace = true [lib] path = "src/nohup.rs" +test = false +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/nproc/Cargo.toml b/src/uu/nproc/Cargo.toml index 496a8409f..fdba21e02 100644 --- a/src/uu/nproc/Cargo.toml +++ b/src/uu/nproc/Cargo.toml @@ -17,6 +17,8 @@ workspace = true [lib] path = "src/nproc.rs" +test = false +doctest = false [dependencies] libc = { workspace = true } diff --git a/src/uu/paste/Cargo.toml b/src/uu/paste/Cargo.toml index eee948150..0874fa472 100644 --- a/src/uu/paste/Cargo.toml +++ b/src/uu/paste/Cargo.toml @@ -17,6 +17,8 @@ workspace = true [lib] path = "src/paste.rs" +test = false +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/pathchk/Cargo.toml b/src/uu/pathchk/Cargo.toml index dcf6ced60..d1cad8900 100644 --- a/src/uu/pathchk/Cargo.toml +++ b/src/uu/pathchk/Cargo.toml @@ -17,6 +17,8 @@ workspace = true [lib] path = "src/pathchk.rs" +test = false +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/pinky/Cargo.toml b/src/uu/pinky/Cargo.toml index 5fc84f3bd..8d3344d31 100644 --- a/src/uu/pinky/Cargo.toml +++ b/src/uu/pinky/Cargo.toml @@ -22,6 +22,7 @@ feat_systemd_logind = ["uucore/feat_systemd_logind"] [lib] path = "src/pinky.rs" +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/pr/Cargo.toml b/src/uu/pr/Cargo.toml index e3953c62b..79f0b2dce 100644 --- a/src/uu/pr/Cargo.toml +++ b/src/uu/pr/Cargo.toml @@ -17,6 +17,8 @@ workspace = true [lib] path = "src/pr.rs" +test = false +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/printenv/Cargo.toml b/src/uu/printenv/Cargo.toml index b73975636..2562154d0 100644 --- a/src/uu/printenv/Cargo.toml +++ b/src/uu/printenv/Cargo.toml @@ -17,6 +17,8 @@ workspace = true [lib] path = "src/printenv.rs" +test = false +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/printf/Cargo.toml b/src/uu/printf/Cargo.toml index dfeacb30e..e9439c54b 100644 --- a/src/uu/printf/Cargo.toml +++ b/src/uu/printf/Cargo.toml @@ -17,6 +17,8 @@ workspace = true [lib] path = "src/printf.rs" +test = false +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/ptx/Cargo.toml b/src/uu/ptx/Cargo.toml index 0e2d7ac8e..fa7991a74 100644 --- a/src/uu/ptx/Cargo.toml +++ b/src/uu/ptx/Cargo.toml @@ -17,6 +17,8 @@ workspace = true [lib] path = "src/ptx.rs" +test = false +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/pwd/Cargo.toml b/src/uu/pwd/Cargo.toml index 5d34c0c23..d6c199780 100644 --- a/src/uu/pwd/Cargo.toml +++ b/src/uu/pwd/Cargo.toml @@ -17,6 +17,8 @@ workspace = true [lib] path = "src/pwd.rs" +test = false +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/readlink/Cargo.toml b/src/uu/readlink/Cargo.toml index a4b92b6f0..33fc316a6 100644 --- a/src/uu/readlink/Cargo.toml +++ b/src/uu/readlink/Cargo.toml @@ -17,6 +17,8 @@ workspace = true [lib] path = "src/readlink.rs" +test = false +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/realpath/Cargo.toml b/src/uu/realpath/Cargo.toml index af675def1..e7d5629e3 100644 --- a/src/uu/realpath/Cargo.toml +++ b/src/uu/realpath/Cargo.toml @@ -17,6 +17,8 @@ workspace = true [lib] path = "src/realpath.rs" +test = false +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/rm/Cargo.toml b/src/uu/rm/Cargo.toml index e04b0e52d..744bd3ce2 100644 --- a/src/uu/rm/Cargo.toml +++ b/src/uu/rm/Cargo.toml @@ -17,6 +17,7 @@ workspace = true [lib] path = "src/rm.rs" +doctest = false [dependencies] thiserror = { workspace = true } diff --git a/src/uu/rmdir/Cargo.toml b/src/uu/rmdir/Cargo.toml index 2841e3412..c33fa2ef0 100644 --- a/src/uu/rmdir/Cargo.toml +++ b/src/uu/rmdir/Cargo.toml @@ -17,6 +17,8 @@ workspace = true [lib] path = "src/rmdir.rs" +test = false +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/runcon/Cargo.toml b/src/uu/runcon/Cargo.toml index 6ed1c2e3d..36087b23f 100644 --- a/src/uu/runcon/Cargo.toml +++ b/src/uu/runcon/Cargo.toml @@ -17,6 +17,8 @@ workspace = true [lib] path = "src/runcon.rs" +test = false +doctest = false # TODO: block fetching crates without feat_selinux [target.'cfg(any(target_os = "linux", target_os = "android"))'.dependencies] diff --git a/src/uu/seq/Cargo.toml b/src/uu/seq/Cargo.toml index 87b6a52e1..5c93852b6 100644 --- a/src/uu/seq/Cargo.toml +++ b/src/uu/seq/Cargo.toml @@ -18,6 +18,7 @@ workspace = true [lib] path = "src/seq.rs" +doctest = false [dependencies] bigdecimal = { workspace = true } diff --git a/src/uu/sha1sum/Cargo.toml b/src/uu/sha1sum/Cargo.toml index 0704d6ba6..db74818b5 100644 --- a/src/uu/sha1sum/Cargo.toml +++ b/src/uu/sha1sum/Cargo.toml @@ -17,6 +17,8 @@ workspace = true [lib] path = "src/sha1sum.rs" +test = false +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/sha224sum/Cargo.toml b/src/uu/sha224sum/Cargo.toml index 6120aad80..2d31c83cf 100644 --- a/src/uu/sha224sum/Cargo.toml +++ b/src/uu/sha224sum/Cargo.toml @@ -17,6 +17,8 @@ workspace = true [lib] path = "src/sha224sum.rs" +test = false +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/sha256sum/Cargo.toml b/src/uu/sha256sum/Cargo.toml index 6a93bf916..4edd734e1 100644 --- a/src/uu/sha256sum/Cargo.toml +++ b/src/uu/sha256sum/Cargo.toml @@ -17,6 +17,8 @@ workspace = true [lib] path = "src/sha256sum.rs" +test = false +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/sha384sum/Cargo.toml b/src/uu/sha384sum/Cargo.toml index 00e9f5472..b91530efd 100644 --- a/src/uu/sha384sum/Cargo.toml +++ b/src/uu/sha384sum/Cargo.toml @@ -17,6 +17,8 @@ workspace = true [lib] path = "src/sha384sum.rs" +test = false +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/sha512sum/Cargo.toml b/src/uu/sha512sum/Cargo.toml index cf204df69..9794dd534 100644 --- a/src/uu/sha512sum/Cargo.toml +++ b/src/uu/sha512sum/Cargo.toml @@ -17,6 +17,8 @@ workspace = true [lib] path = "src/sha512sum.rs" +test = false +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/shred/Cargo.toml b/src/uu/shred/Cargo.toml index 6ebecb01a..7ae709bf8 100644 --- a/src/uu/shred/Cargo.toml +++ b/src/uu/shred/Cargo.toml @@ -17,6 +17,7 @@ workspace = true [lib] path = "src/shred.rs" +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/shuf/Cargo.toml b/src/uu/shuf/Cargo.toml index d59f022e1..caea73864 100644 --- a/src/uu/shuf/Cargo.toml +++ b/src/uu/shuf/Cargo.toml @@ -17,6 +17,7 @@ workspace = true [lib] path = "src/shuf.rs" +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/sleep/Cargo.toml b/src/uu/sleep/Cargo.toml index ccd878bd4..ad0590dc8 100644 --- a/src/uu/sleep/Cargo.toml +++ b/src/uu/sleep/Cargo.toml @@ -17,6 +17,8 @@ workspace = true [lib] path = "src/sleep.rs" +test = false +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/sort/Cargo.toml b/src/uu/sort/Cargo.toml index bf7c514bf..8c61f0298 100644 --- a/src/uu/sort/Cargo.toml +++ b/src/uu/sort/Cargo.toml @@ -19,6 +19,7 @@ workspace = true [lib] path = "src/sort.rs" +doctest = false [features] default = ["i18n-collator"] diff --git a/src/uu/split/Cargo.toml b/src/uu/split/Cargo.toml index d9878b47b..58e84857a 100644 --- a/src/uu/split/Cargo.toml +++ b/src/uu/split/Cargo.toml @@ -17,6 +17,7 @@ workspace = true [lib] path = "src/split.rs" +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/stat/Cargo.toml b/src/uu/stat/Cargo.toml index d01a713ec..0cd59e4c2 100644 --- a/src/uu/stat/Cargo.toml +++ b/src/uu/stat/Cargo.toml @@ -17,6 +17,7 @@ workspace = true [lib] path = "src/stat.rs" +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/stdbuf/Cargo.toml b/src/uu/stdbuf/Cargo.toml index 7510be1a4..acc9976c9 100644 --- a/src/uu/stdbuf/Cargo.toml +++ b/src/uu/stdbuf/Cargo.toml @@ -18,6 +18,8 @@ workspace = true [lib] path = "src/stdbuf.rs" +test = false +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/stdbuf/src/libstdbuf/Cargo.toml b/src/uu/stdbuf/src/libstdbuf/Cargo.toml index 2e76b2ee6..5d533dce2 100644 --- a/src/uu/stdbuf/src/libstdbuf/Cargo.toml +++ b/src/uu/stdbuf/src/libstdbuf/Cargo.toml @@ -18,6 +18,7 @@ workspace = true name = "stdbuf" path = "src/libstdbuf.rs" crate-type = ["cdylib"] +test = false [dependencies] ctor = { workspace = true } diff --git a/src/uu/stty/Cargo.toml b/src/uu/stty/Cargo.toml index f6c472a89..764f28f35 100644 --- a/src/uu/stty/Cargo.toml +++ b/src/uu/stty/Cargo.toml @@ -17,6 +17,7 @@ workspace = true [lib] path = "src/stty.rs" +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/sum/Cargo.toml b/src/uu/sum/Cargo.toml index b3b923ec2..77bbf1f0b 100644 --- a/src/uu/sum/Cargo.toml +++ b/src/uu/sum/Cargo.toml @@ -17,6 +17,8 @@ workspace = true [lib] path = "src/sum.rs" +test = false +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/sync/Cargo.toml b/src/uu/sync/Cargo.toml index 21df8266d..43bbaaf64 100644 --- a/src/uu/sync/Cargo.toml +++ b/src/uu/sync/Cargo.toml @@ -17,6 +17,8 @@ workspace = true [lib] path = "src/sync.rs" +test = false +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/tac/Cargo.toml b/src/uu/tac/Cargo.toml index e65ff6c88..3618d34d3 100644 --- a/src/uu/tac/Cargo.toml +++ b/src/uu/tac/Cargo.toml @@ -19,6 +19,7 @@ workspace = true [lib] path = "src/tac.rs" +doctest = false [dependencies] memchr = { workspace = true } diff --git a/src/uu/tail/Cargo.toml b/src/uu/tail/Cargo.toml index 5dd0e918c..b7d616764 100644 --- a/src/uu/tail/Cargo.toml +++ b/src/uu/tail/Cargo.toml @@ -18,6 +18,7 @@ workspace = true [lib] path = "src/tail.rs" +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/tee/Cargo.toml b/src/uu/tee/Cargo.toml index 9be41804a..efb83ed83 100644 --- a/src/uu/tee/Cargo.toml +++ b/src/uu/tee/Cargo.toml @@ -17,6 +17,8 @@ workspace = true [lib] path = "src/tee.rs" +test = false +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/test/Cargo.toml b/src/uu/test/Cargo.toml index 002e42fd0..e86d8d0f5 100644 --- a/src/uu/test/Cargo.toml +++ b/src/uu/test/Cargo.toml @@ -17,6 +17,7 @@ workspace = true [lib] path = "src/test.rs" +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/timeout/Cargo.toml b/src/uu/timeout/Cargo.toml index ecc104701..5b442f26e 100644 --- a/src/uu/timeout/Cargo.toml +++ b/src/uu/timeout/Cargo.toml @@ -17,6 +17,8 @@ workspace = true [lib] path = "src/timeout.rs" +test = false +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/touch/Cargo.toml b/src/uu/touch/Cargo.toml index 4bfff3d5d..5409c333f 100644 --- a/src/uu/touch/Cargo.toml +++ b/src/uu/touch/Cargo.toml @@ -18,6 +18,7 @@ workspace = true [lib] path = "src/touch.rs" +doctest = false [dependencies] filetime = { workspace = true } diff --git a/src/uu/tr/Cargo.toml b/src/uu/tr/Cargo.toml index e470db1ce..1fc8cbbce 100644 --- a/src/uu/tr/Cargo.toml +++ b/src/uu/tr/Cargo.toml @@ -17,6 +17,8 @@ workspace = true [lib] path = "src/tr.rs" +test = false +doctest = false [dependencies] nom = { workspace = true } diff --git a/src/uu/true/Cargo.toml b/src/uu/true/Cargo.toml index aaf37e8b9..68b96f9d8 100644 --- a/src/uu/true/Cargo.toml +++ b/src/uu/true/Cargo.toml @@ -17,6 +17,8 @@ workspace = true [lib] path = "src/true.rs" +test = false +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/truncate/Cargo.toml b/src/uu/truncate/Cargo.toml index c2bd37149..b443ac155 100644 --- a/src/uu/truncate/Cargo.toml +++ b/src/uu/truncate/Cargo.toml @@ -17,6 +17,7 @@ workspace = true [lib] path = "src/truncate.rs" +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/tsort/Cargo.toml b/src/uu/tsort/Cargo.toml index 227cab634..c3c833306 100644 --- a/src/uu/tsort/Cargo.toml +++ b/src/uu/tsort/Cargo.toml @@ -18,6 +18,8 @@ workspace = true [lib] path = "src/tsort.rs" +test = false +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/tty/Cargo.toml b/src/uu/tty/Cargo.toml index 6fe03e425..340a73876 100644 --- a/src/uu/tty/Cargo.toml +++ b/src/uu/tty/Cargo.toml @@ -17,6 +17,8 @@ workspace = true [lib] path = "src/tty.rs" +test = false +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/uname/Cargo.toml b/src/uu/uname/Cargo.toml index fe704f96e..a28a567d2 100644 --- a/src/uu/uname/Cargo.toml +++ b/src/uu/uname/Cargo.toml @@ -17,6 +17,8 @@ workspace = true [lib] path = "src/uname.rs" +test = false +doctest = false [dependencies] platform-info = { workspace = true } diff --git a/src/uu/unexpand/Cargo.toml b/src/uu/unexpand/Cargo.toml index 81e44d920..1130f307e 100644 --- a/src/uu/unexpand/Cargo.toml +++ b/src/uu/unexpand/Cargo.toml @@ -17,6 +17,7 @@ workspace = true [lib] path = "src/unexpand.rs" +doctest = false [dependencies] thiserror = { workspace = true } diff --git a/src/uu/uniq/Cargo.toml b/src/uu/uniq/Cargo.toml index a484c2a14..30098212f 100644 --- a/src/uu/uniq/Cargo.toml +++ b/src/uu/uniq/Cargo.toml @@ -17,6 +17,8 @@ workspace = true [lib] path = "src/uniq.rs" +test = false +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/unlink/Cargo.toml b/src/uu/unlink/Cargo.toml index 8f9adc52d..7a179ec24 100644 --- a/src/uu/unlink/Cargo.toml +++ b/src/uu/unlink/Cargo.toml @@ -17,6 +17,8 @@ workspace = true [lib] path = "src/unlink.rs" +test = false +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/uptime/Cargo.toml b/src/uu/uptime/Cargo.toml index 3d078fabb..73e3718de 100644 --- a/src/uu/uptime/Cargo.toml +++ b/src/uu/uptime/Cargo.toml @@ -22,6 +22,8 @@ feat_systemd_logind = ["uucore/feat_systemd_logind"] [lib] path = "src/uptime.rs" +test = false +doctest = false [dependencies] clap = { workspace = true } @@ -30,8 +32,6 @@ uucore = { workspace = true, features = ["libc", "utmpx", "uptime"] } fluent = { workspace = true } jiff = { workspace = true } -[target.'cfg(target_os = "openbsd")'.dependencies] - [[bin]] name = "uptime" path = "src/main.rs" diff --git a/src/uu/users/Cargo.toml b/src/uu/users/Cargo.toml index 3a68307e3..7cf10634a 100644 --- a/src/uu/users/Cargo.toml +++ b/src/uu/users/Cargo.toml @@ -22,6 +22,8 @@ feat_systemd_logind = ["uucore/feat_systemd_logind"] [lib] path = "src/users.rs" +test = false +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/vdir/Cargo.toml b/src/uu/vdir/Cargo.toml index a9b6c5191..defce543e 100644 --- a/src/uu/vdir/Cargo.toml +++ b/src/uu/vdir/Cargo.toml @@ -17,6 +17,8 @@ workspace = true [lib] path = "src/vdir.rs" +test = false +doctest = false [dependencies] clap = { workspace = true, features = ["env"] } diff --git a/src/uu/wc/Cargo.toml b/src/uu/wc/Cargo.toml index a285d58c8..f43ceef0a 100644 --- a/src/uu/wc/Cargo.toml +++ b/src/uu/wc/Cargo.toml @@ -17,6 +17,8 @@ workspace = true [lib] path = "src/wc.rs" +test = false +doctest = false [dependencies] bytecount = { workspace = true, features = ["runtime-dispatch-simd"] } diff --git a/src/uu/who/Cargo.toml b/src/uu/who/Cargo.toml index c4cf5145b..71420424d 100644 --- a/src/uu/who/Cargo.toml +++ b/src/uu/who/Cargo.toml @@ -23,6 +23,8 @@ feat_systemd_logind = ["uucore/feat_systemd_logind"] [lib] path = "src/who.rs" +test = false +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/whoami/Cargo.toml b/src/uu/whoami/Cargo.toml index fe88d6407..b73ffef3d 100644 --- a/src/uu/whoami/Cargo.toml +++ b/src/uu/whoami/Cargo.toml @@ -17,6 +17,8 @@ workspace = true [lib] path = "src/whoami.rs" +test = false +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uu/yes/Cargo.toml b/src/uu/yes/Cargo.toml index 1c2c53dde..eaa36c1ae 100644 --- a/src/uu/yes/Cargo.toml +++ b/src/uu/yes/Cargo.toml @@ -17,6 +17,7 @@ workspace = true [lib] path = "src/yes.rs" +doctest = false [dependencies] clap = { workspace = true } diff --git a/src/uucore_procs/Cargo.toml b/src/uucore_procs/Cargo.toml index a8c76441c..c5e45c4c4 100644 --- a/src/uucore_procs/Cargo.toml +++ b/src/uucore_procs/Cargo.toml @@ -13,6 +13,8 @@ version.workspace = true [lib] proc-macro = true +test = false +doctest = false [dependencies] proc-macro2 = "1.0.81"