From 6ecef3a0e3ada3d98b9d82d24ecea8c80a12d9e4 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Thu, 8 Jun 2023 09:07:12 +0200 Subject: [PATCH] Reformat TOML files with taplo npx --yes @taplo/cli fmt --- Cargo.toml | 620 ++++++++++++------------- Makefile.toml | 162 +++---- deny.toml | 62 +-- docs/book.toml | 2 +- src/uu/arch/Cargo.toml | 6 +- src/uu/base32/Cargo.toml | 4 +- src/uu/base64/Cargo.toml | 4 +- src/uu/basename/Cargo.toml | 4 +- src/uu/basenc/Cargo.toml | 6 +- src/uu/cat/Cargo.toml | 6 +- src/uu/chcon/Cargo.toml | 10 +- src/uu/chgrp/Cargo.toml | 4 +- src/uu/chmod/Cargo.toml | 6 +- src/uu/chown/Cargo.toml | 4 +- src/uu/chroot/Cargo.toml | 4 +- src/uu/cksum/Cargo.toml | 6 +- src/uu/comm/Cargo.toml | 4 +- src/uu/cp/Cargo.toml | 26 +- src/uu/csplit/Cargo.toml | 6 +- src/uu/cut/Cargo.toml | 10 +- src/uu/date/Cargo.toml | 15 +- src/uu/dd/Cargo.toml | 12 +- src/uu/df/Cargo.toml | 6 +- src/uu/dir/Cargo.toml | 6 +- src/uu/dircolors/Cargo.toml | 4 +- src/uu/dirname/Cargo.toml | 4 +- src/uu/du/Cargo.toml | 13 +- src/uu/echo/Cargo.toml | 4 +- src/uu/env/Cargo.toml | 8 +- src/uu/expand/Cargo.toml | 6 +- src/uu/expr/Cargo.toml | 10 +- src/uu/factor/Cargo.toml | 14 +- src/uu/false/Cargo.toml | 4 +- src/uu/fmt/Cargo.toml | 6 +- src/uu/fold/Cargo.toml | 4 +- src/uu/groups/Cargo.toml | 4 +- src/uu/hashsum/Cargo.toml | 10 +- src/uu/head/Cargo.toml | 6 +- src/uu/hostid/Cargo.toml | 6 +- src/uu/hostname/Cargo.toml | 9 +- src/uu/id/Cargo.toml | 6 +- src/uu/install/Cargo.toml | 15 +- src/uu/join/Cargo.toml | 6 +- src/uu/kill/Cargo.toml | 6 +- src/uu/link/Cargo.toml | 4 +- src/uu/ln/Cargo.toml | 4 +- src/uu/logname/Cargo.toml | 6 +- src/uu/ls/Cargo.toml | 24 +- src/uu/mkdir/Cargo.toml | 4 +- src/uu/mkfifo/Cargo.toml | 6 +- src/uu/mknod/Cargo.toml | 6 +- src/uu/mktemp/Cargo.toml | 8 +- src/uu/more/Cargo.toml | 14 +- src/uu/mv/Cargo.toml | 8 +- src/uu/nice/Cargo.toml | 8 +- src/uu/nl/Cargo.toml | 6 +- src/uu/nohup/Cargo.toml | 8 +- src/uu/nproc/Cargo.toml | 6 +- src/uu/numfmt/Cargo.toml | 4 +- src/uu/od/Cargo.toml | 8 +- src/uu/paste/Cargo.toml | 4 +- src/uu/pathchk/Cargo.toml | 6 +- src/uu/pinky/Cargo.toml | 4 +- src/uu/pr/Cargo.toml | 12 +- src/uu/printenv/Cargo.toml | 4 +- src/uu/printf/Cargo.toml | 9 +- src/uu/ptx/Cargo.toml | 6 +- src/uu/pwd/Cargo.toml | 4 +- src/uu/readlink/Cargo.toml | 4 +- src/uu/realpath/Cargo.toml | 4 +- src/uu/relpath/Cargo.toml | 4 +- src/uu/rm/Cargo.toml | 10 +- src/uu/rmdir/Cargo.toml | 6 +- src/uu/runcon/Cargo.toml | 10 +- src/uu/seq/Cargo.toml | 10 +- src/uu/shred/Cargo.toml | 8 +- src/uu/shuf/Cargo.toml | 10 +- src/uu/sleep/Cargo.toml | 6 +- src/uu/sort/Cargo.toml | 26 +- src/uu/split/Cargo.toml | 6 +- src/uu/stat/Cargo.toml | 4 +- src/uu/stdbuf/Cargo.toml | 8 +- src/uu/stdbuf/src/libstdbuf/Cargo.toml | 9 +- src/uu/stty/Cargo.toml | 6 +- src/uu/sum/Cargo.toml | 4 +- src/uu/sync/Cargo.toml | 14 +- src/uu/tac/Cargo.toml | 8 +- src/uu/tail/Cargo.toml | 25 +- src/uu/tee/Cargo.toml | 6 +- src/uu/test/Cargo.toml | 8 +- src/uu/timeout/Cargo.toml | 8 +- src/uu/touch/Cargo.toml | 18 +- src/uu/tr/Cargo.toml | 6 +- src/uu/true/Cargo.toml | 4 +- src/uu/truncate/Cargo.toml | 4 +- src/uu/tsort/Cargo.toml | 4 +- src/uu/tty/Cargo.toml | 8 +- src/uu/uname/Cargo.toml | 6 +- src/uu/unexpand/Cargo.toml | 6 +- src/uu/uniq/Cargo.toml | 4 +- src/uu/unlink/Cargo.toml | 4 +- src/uu/uptime/Cargo.toml | 6 +- src/uu/users/Cargo.toml | 4 +- src/uu/vdir/Cargo.toml | 6 +- src/uu/wc/Cargo.toml | 14 +- src/uu/who/Cargo.toml | 4 +- src/uu/whoami/Cargo.toml | 12 +- src/uu/yes/Cargo.toml | 10 +- src/uucore/Cargo.toml | 66 +-- src/uucore_procs/Cargo.toml | 2 +- 110 files changed, 844 insertions(+), 861 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index aac51b8c6ee..179584604f2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,11 +22,11 @@ edition = "2021" build = "build.rs" [features] -default = [ "feat_common_core" ] +default = ["feat_common_core"] ## OS feature shortcodes -macos = [ "feat_os_macos" ] -unix = [ "feat_os_unix" ] -windows = [ "feat_os_windows" ] +macos = ["feat_os_macos"] +unix = ["feat_os_unix"] +windows = ["feat_os_windows"] ## project-specific feature shortcodes nightly = [] test_unimplemented = [] @@ -42,225 +42,219 @@ feat_acl = ["cp/feat_acl"] # NOTE: # * The selinux(-sys) crate requires `libselinux` headers and shared library to be accessible in the C toolchain at compile time. # * Running a uutils compiled with `feat_selinux` requires an SELinux enabled Kernel at run time. -feat_selinux = ["cp/selinux", "id/selinux", "ls/selinux", "selinux", "feat_require_selinux"] +feat_selinux = [ + "cp/selinux", + "id/selinux", + "ls/selinux", + "selinux", + "feat_require_selinux", +] ## ## feature sets ## (common/core and Tier1) feature sets # "feat_common_core" == baseline core set of utilities which can be built/run on most targets feat_common_core = [ - "base32", - "base64", - "basename", - "basenc", - "cat", - "cksum", - "comm", - "cp", - "csplit", - "cut", - "date", - "df", - "dir", - "dircolors", - "dirname", - "dd", - "du", - "echo", - "env", - "expand", - "expr", - "factor", - "false", - "fmt", - "fold", - "hashsum", - "head", - "join", - "link", - "ln", - "ls", - "mkdir", - "mktemp", - "more", - "mv", - "nl", - "numfmt", - "od", - "paste", - "pr", - "printenv", - "printf", - "ptx", - "pwd", - "readlink", - "realpath", - "relpath", - "rm", - "rmdir", - "seq", - "shred", - "shuf", - "sleep", - "sort", - "split", - "sum", - "tac", - "tail", - "tee", - "test", - "tr", - "true", - "truncate", - "tsort", - "touch", - "unexpand", - "uniq", - "unlink", - "vdir", - "wc", - "yes", + "base32", + "base64", + "basename", + "basenc", + "cat", + "cksum", + "comm", + "cp", + "csplit", + "cut", + "date", + "df", + "dir", + "dircolors", + "dirname", + "dd", + "du", + "echo", + "env", + "expand", + "expr", + "factor", + "false", + "fmt", + "fold", + "hashsum", + "head", + "join", + "link", + "ln", + "ls", + "mkdir", + "mktemp", + "more", + "mv", + "nl", + "numfmt", + "od", + "paste", + "pr", + "printenv", + "printf", + "ptx", + "pwd", + "readlink", + "realpath", + "relpath", + "rm", + "rmdir", + "seq", + "shred", + "shuf", + "sleep", + "sort", + "split", + "sum", + "tac", + "tail", + "tee", + "test", + "tr", + "true", + "truncate", + "tsort", + "touch", + "unexpand", + "uniq", + "unlink", + "vdir", + "wc", + "yes", ] # "feat_Tier1" == expanded set of utilities which can be built/run on the usual rust "Tier 1" target platforms (ref: ) feat_Tier1 = [ - "feat_common_core", - # - "arch", - "hostname", - "nproc", - "sync", - "touch", - "uname", - "whoami", + "feat_common_core", + # + "arch", + "hostname", + "nproc", + "sync", + "touch", + "uname", + "whoami", ] ## (primary platforms) feature sets # "feat_os_macos" == set of utilities which can be built/run on the MacOS platform feat_os_macos = [ - "feat_os_unix", ## == a modern/usual *nix platform - # - "feat_require_unix_hostid", + "feat_os_unix", ## == a modern/usual *nix platform + # + "feat_require_unix_hostid", ] # "feat_os_unix" == set of utilities which can be built/run on modern/usual *nix platforms feat_os_unix = [ - "feat_Tier1", - # - "feat_require_crate_cpp", - "feat_require_unix", - "feat_require_unix_utmpx", + "feat_Tier1", + # + "feat_require_crate_cpp", + "feat_require_unix", + "feat_require_unix_utmpx", ] # "feat_os_windows" == set of utilities which can be built/run on modern/usual windows platforms feat_os_windows = [ - "feat_Tier1", ## == "feat_os_windows_legacy" + "hostname" + "feat_Tier1", ## == "feat_os_windows_legacy" + "hostname" ] ## (secondary platforms) feature sets # "feat_os_unix_gnueabihf" == set of utilities which can be built/run on the "arm-unknown-linux-gnueabihf" target (ARMv6 Linux [hardfloat]) feat_os_unix_gnueabihf = [ - "feat_Tier1", - # - "feat_require_unix", - "feat_require_unix_hostid", - "feat_require_unix_utmpx", + "feat_Tier1", + # + "feat_require_unix", + "feat_require_unix_hostid", + "feat_require_unix_utmpx", ] # "feat_os_unix_musl" == set of utilities which can be built/run on targets binding to the "musl" library (ref: ) feat_os_unix_musl = [ - "feat_Tier1", - # - "feat_require_unix", - "feat_require_unix_hostid", + "feat_Tier1", + # + "feat_require_unix", + "feat_require_unix_hostid", ] feat_os_unix_android = [ - "feat_Tier1", - # - "feat_require_unix", + "feat_Tier1", + # + "feat_require_unix", ] ## feature sets with requirements (restricting cross-platform availability) # # ** NOTE: these `feat_require_...` sets should be minimized as much as possible to encourage cross-platform availability of utilities # # "feat_require_crate_cpp" == set of utilities requiring the `cpp` crate (which fail to compile on several platforms; as of 2020-04-23) -feat_require_crate_cpp = [ - "stdbuf", -] +feat_require_crate_cpp = ["stdbuf"] # "feat_require_unix" == set of utilities requiring support which is only available on unix platforms (as of 2020-04-23) feat_require_unix = [ - "chgrp", - "chmod", - "chown", - "chroot", - "groups", - "id", - "install", - "kill", - "logname", - "mkfifo", - "mknod", - "nice", - "nohup", - "pathchk", - "stat", - "stty", - "timeout", - "tty", + "chgrp", + "chmod", + "chown", + "chroot", + "groups", + "id", + "install", + "kill", + "logname", + "mkfifo", + "mknod", + "nice", + "nohup", + "pathchk", + "stat", + "stty", + "timeout", + "tty", ] # "feat_require_unix_utmpx" == set of utilities requiring unix utmp/utmpx support # * ref: -feat_require_unix_utmpx = [ - "pinky", - "uptime", - "users", - "who", -] +feat_require_unix_utmpx = ["pinky", "uptime", "users", "who"] # "feat_require_unix_hostid" == set of utilities requiring gethostid in libc (only some unixes provide) -feat_require_unix_hostid = [ - "hostid", -] +feat_require_unix_hostid = ["hostid"] # "feat_require_selinux" == set of utilities depending on SELinux. -feat_require_selinux = [ - "chcon", - "runcon", -] +feat_require_selinux = ["chcon", "runcon"] ## (alternate/newer/smaller platforms) feature sets # "feat_os_unix_fuchsia" == set of utilities which can be built/run on the "Fuchsia" OS (refs: ; ) feat_os_unix_fuchsia = [ - "feat_common_core", - # - "feat_require_crate_cpp", - # - "chgrp", - "chmod", - "chown", - "du", - "groups", - "hostid", - "install", - "logname", - "mkfifo", - "mknod", - "nice", - "pathchk", - "tty", - "uname", - "unlink", + "feat_common_core", + # + "feat_require_crate_cpp", + # + "chgrp", + "chmod", + "chown", + "du", + "groups", + "hostid", + "install", + "logname", + "mkfifo", + "mknod", + "nice", + "pathchk", + "tty", + "uname", + "unlink", ] # "feat_os_unix_redox" == set of utilities which can be built/run on "Redox OS" (refs: ; ) feat_os_unix_redox = [ - "feat_common_core", - # - "chmod", - "uname", + "feat_common_core", + # + "chmod", + "uname", ] # "feat_os_windows_legacy" == slightly restricted set of utilities which can be built/run on early windows platforms (eg, "WinXP") feat_os_windows_legacy = [ - "feat_common_core", - # - "arch", - "nproc", - "sync", - "touch", - "whoami", + "feat_common_core", + # + "arch", + "nproc", + "sync", + "touch", + "whoami", ] ## # * bypass/override ~ translate 'test' feature name to avoid dependency collision with rust core 'test' crate (o/w surfaces as compiler errors during testing) -test = [ "uu_test" ] +test = ["uu_test"] [workspace.dependencies] bigdecimal = "0.3" @@ -268,7 +262,11 @@ binary-heap-plus = "0.5.0" bstr = "1.5" bytecount = "0.6.3" byteorder = "1.4.3" -chrono = { version="^0.4.26", default-features=false, features=["std", "alloc", "clock"]} +chrono = { version = "^0.4.26", default-features = false, features = [ + "std", + "alloc", + "clock", +] } clap = { version = "4.3", features = ["wrap_help", "cargo"] } clap_complete = "4.3" clap_mangen = "0.2" @@ -291,11 +289,13 @@ indicatif = "0.17" is-terminal = "0.4.7" itertools = "0.10.5" libc = "0.2.146" -lscolors = { version = "0.14.0", default-features=false, features = ["nu-ansi-term"] } +lscolors = { version = "0.14.0", default-features = false, features = [ + "nu-ansi-term", +] } memchr = "2" -nix = { version="0.26", default-features=false } +nix = { version = "0.26", default-features = false } nom = "7.1.3" -notify = { version = "=6.0.0", features=["macos_kqueue"]} +notify = { version = "=6.0.0", features = ["macos_kqueue"] } num-bigint = "0.4.3" num-traits = "0.2.15" number_prefix = "0.4" @@ -320,17 +320,17 @@ smallvec = { version = "1.10", features = ["union"] } tempfile = "3.6.0" term_grid = "0.1.5" terminal_size = "0.2.6" -textwrap = { version="0.16.0", features=["terminal_size"] } +textwrap = { version = "0.16.0", features = ["terminal_size"] } thiserror = "1.0" -time = { version="0.3" } +time = { version = "0.3" } unicode-segmentation = "1.10.1" unicode-width = "0.1.10" utf-8 = "0.7.6" walkdir = "2.3" winapi-util = "0.1.5" -windows-sys = { version="0.48.0", default-features=false } +windows-sys = { version = "0.48.0", default-features = false } xattr = "1.0.0" -zip = { version = "0.6.6", default_features=false, features=["deflate"] } +zip = { version = "0.6.6", default_features = false, features = ["deflate"] } hex = "0.4.3" md-5 = "0.10.5" @@ -342,129 +342,129 @@ blake3 = "1.3.3" sm3 = "0.4.2" digest = "0.10.7" -uucore = { version=">=0.0.19", package="uucore", path="src/uucore" } -uucore_procs = { version=">=0.0.19", package="uucore_procs", path="src/uucore_procs" } -uu_ls = { version=">=0.0.18", path="src/uu/ls" } -uu_base32 = { version=">=0.0.18", path="src/uu/base32"} +uucore = { version = ">=0.0.19", package = "uucore", path = "src/uucore" } +uucore_procs = { version = ">=0.0.19", package = "uucore_procs", path = "src/uucore_procs" } +uu_ls = { version = ">=0.0.18", path = "src/uu/ls" } +uu_base32 = { version = ">=0.0.18", path = "src/uu/base32" } [dependencies] -clap = { workspace=true } -once_cell = { workspace=true } -uucore = { workspace=true } -clap_complete = { workspace=true } -clap_mangen = { workspace=true } -phf = { workspace=true } -selinux = { workspace=true, optional = true } -textwrap = { workspace=true } -zip = { workspace=true, optional = true } +clap = { workspace = true } +once_cell = { workspace = true } +uucore = { workspace = true } +clap_complete = { workspace = true } +clap_mangen = { workspace = true } +phf = { workspace = true } +selinux = { workspace = true, optional = true } +textwrap = { workspace = true } +zip = { workspace = true, optional = true } -uuhelp_parser = { optional=true, version=">=0.0.19", path="src/uuhelp_parser"} +uuhelp_parser = { optional = true, version = ">=0.0.19", path = "src/uuhelp_parser" } # * uutils -uu_test = { optional=true, version="0.0.19", package="uu_test", path="src/uu/test" } +uu_test = { optional = true, version = "0.0.19", package = "uu_test", path = "src/uu/test" } # -arch = { optional=true, version="0.0.19", package="uu_arch", path="src/uu/arch" } -base32 = { optional=true, version="0.0.19", package="uu_base32", path="src/uu/base32" } -base64 = { optional=true, version="0.0.19", package="uu_base64", path="src/uu/base64" } -basename = { optional=true, version="0.0.19", package="uu_basename", path="src/uu/basename" } -basenc = { optional=true, version="0.0.19", package="uu_basenc", path="src/uu/basenc" } -cat = { optional=true, version="0.0.19", package="uu_cat", path="src/uu/cat" } -chcon = { optional=true, version="0.0.19", package="uu_chcon", path="src/uu/chcon" } -chgrp = { optional=true, version="0.0.19", package="uu_chgrp", path="src/uu/chgrp" } -chmod = { optional=true, version="0.0.19", package="uu_chmod", path="src/uu/chmod" } -chown = { optional=true, version="0.0.19", package="uu_chown", path="src/uu/chown" } -chroot = { optional=true, version="0.0.19", package="uu_chroot", path="src/uu/chroot" } -cksum = { optional=true, version="0.0.19", package="uu_cksum", path="src/uu/cksum" } -comm = { optional=true, version="0.0.19", package="uu_comm", path="src/uu/comm" } -cp = { optional=true, version="0.0.19", package="uu_cp", path="src/uu/cp" } -csplit = { optional=true, version="0.0.19", package="uu_csplit", path="src/uu/csplit" } -cut = { optional=true, version="0.0.19", package="uu_cut", path="src/uu/cut" } -date = { optional=true, version="0.0.19", package="uu_date", path="src/uu/date" } -dd = { optional=true, version="0.0.19", package="uu_dd", path="src/uu/dd" } -df = { optional=true, version="0.0.19", package="uu_df", path="src/uu/df" } -dir = { optional=true, version="0.0.19", package="uu_dir", path="src/uu/dir" } -dircolors= { optional=true, version="0.0.19", package="uu_dircolors", path="src/uu/dircolors" } -dirname = { optional=true, version="0.0.19", package="uu_dirname", path="src/uu/dirname" } -du = { optional=true, version="0.0.19", package="uu_du", path="src/uu/du" } -echo = { optional=true, version="0.0.19", package="uu_echo", path="src/uu/echo" } -env = { optional=true, version="0.0.19", package="uu_env", path="src/uu/env" } -expand = { optional=true, version="0.0.19", package="uu_expand", path="src/uu/expand" } -expr = { optional=true, version="0.0.19", package="uu_expr", path="src/uu/expr" } -factor = { optional=true, version="0.0.19", package="uu_factor", path="src/uu/factor" } -false = { optional=true, version="0.0.19", package="uu_false", path="src/uu/false" } -fmt = { optional=true, version="0.0.19", package="uu_fmt", path="src/uu/fmt" } -fold = { optional=true, version="0.0.19", package="uu_fold", path="src/uu/fold" } -groups = { optional=true, version="0.0.19", package="uu_groups", path="src/uu/groups" } -hashsum = { optional=true, version="0.0.19", package="uu_hashsum", path="src/uu/hashsum" } -head = { optional=true, version="0.0.19", package="uu_head", path="src/uu/head" } -hostid = { optional=true, version="0.0.19", package="uu_hostid", path="src/uu/hostid" } -hostname = { optional=true, version="0.0.19", package="uu_hostname", path="src/uu/hostname" } -id = { optional=true, version="0.0.19", package="uu_id", path="src/uu/id" } -install = { optional=true, version="0.0.19", package="uu_install", path="src/uu/install" } -join = { optional=true, version="0.0.19", package="uu_join", path="src/uu/join" } -kill = { optional=true, version="0.0.19", package="uu_kill", path="src/uu/kill" } -link = { optional=true, version="0.0.19", package="uu_link", path="src/uu/link" } -ln = { optional=true, version="0.0.19", package="uu_ln", path="src/uu/ln" } -ls = { optional=true, version="0.0.19", package="uu_ls", path="src/uu/ls" } -logname = { optional=true, version="0.0.19", package="uu_logname", path="src/uu/logname" } -mkdir = { optional=true, version="0.0.19", package="uu_mkdir", path="src/uu/mkdir" } -mkfifo = { optional=true, version="0.0.19", package="uu_mkfifo", path="src/uu/mkfifo" } -mknod = { optional=true, version="0.0.19", package="uu_mknod", path="src/uu/mknod" } -mktemp = { optional=true, version="0.0.19", package="uu_mktemp", path="src/uu/mktemp" } -more = { optional=true, version="0.0.19", package="uu_more", path="src/uu/more" } -mv = { optional=true, version="0.0.19", package="uu_mv", path="src/uu/mv" } -nice = { optional=true, version="0.0.19", package="uu_nice", path="src/uu/nice" } -nl = { optional=true, version="0.0.19", package="uu_nl", path="src/uu/nl" } -nohup = { optional=true, version="0.0.19", package="uu_nohup", path="src/uu/nohup" } -nproc = { optional=true, version="0.0.19", package="uu_nproc", path="src/uu/nproc" } -numfmt = { optional=true, version="0.0.19", package="uu_numfmt", path="src/uu/numfmt" } -od = { optional=true, version="0.0.19", package="uu_od", path="src/uu/od" } -paste = { optional=true, version="0.0.19", package="uu_paste", path="src/uu/paste" } -pathchk = { optional=true, version="0.0.19", package="uu_pathchk", path="src/uu/pathchk" } -pinky = { optional=true, version="0.0.19", package="uu_pinky", path="src/uu/pinky" } -pr = { optional=true, version="0.0.19", package="uu_pr", path="src/uu/pr" } -printenv = { optional=true, version="0.0.19", package="uu_printenv", path="src/uu/printenv" } -printf = { optional=true, version="0.0.19", package="uu_printf", path="src/uu/printf" } -ptx = { optional=true, version="0.0.19", package="uu_ptx", path="src/uu/ptx" } -pwd = { optional=true, version="0.0.19", package="uu_pwd", path="src/uu/pwd" } -readlink = { optional=true, version="0.0.19", package="uu_readlink", path="src/uu/readlink" } -realpath = { optional=true, version="0.0.19", package="uu_realpath", path="src/uu/realpath" } -relpath = { optional=true, version="0.0.19", package="uu_relpath", path="src/uu/relpath" } -rm = { optional=true, version="0.0.19", package="uu_rm", path="src/uu/rm" } -rmdir = { optional=true, version="0.0.19", package="uu_rmdir", path="src/uu/rmdir" } -runcon = { optional=true, version="0.0.19", package="uu_runcon", path="src/uu/runcon" } -seq = { optional=true, version="0.0.19", package="uu_seq", path="src/uu/seq" } -shred = { optional=true, version="0.0.19", package="uu_shred", path="src/uu/shred" } -shuf = { optional=true, version="0.0.19", package="uu_shuf", path="src/uu/shuf" } -sleep = { optional=true, version="0.0.19", package="uu_sleep", path="src/uu/sleep" } -sort = { optional=true, version="0.0.19", package="uu_sort", path="src/uu/sort" } -split = { optional=true, version="0.0.19", package="uu_split", path="src/uu/split" } -stat = { optional=true, version="0.0.19", package="uu_stat", path="src/uu/stat" } -stdbuf = { optional=true, version="0.0.19", package="uu_stdbuf", path="src/uu/stdbuf" } -stty = { optional=true, version="0.0.19", package="uu_stty", path="src/uu/stty" } -sum = { optional=true, version="0.0.19", package="uu_sum", path="src/uu/sum" } -sync = { optional=true, version="0.0.19", package="uu_sync", path="src/uu/sync" } -tac = { optional=true, version="0.0.19", package="uu_tac", path="src/uu/tac" } -tail = { optional=true, version="0.0.19", package="uu_tail", path="src/uu/tail" } -tee = { optional=true, version="0.0.19", package="uu_tee", path="src/uu/tee" } -timeout = { optional=true, version="0.0.19", package="uu_timeout", path="src/uu/timeout" } -touch = { optional=true, version="0.0.19", package="uu_touch", path="src/uu/touch" } -tr = { optional=true, version="0.0.19", package="uu_tr", path="src/uu/tr" } -true = { optional=true, version="0.0.19", package="uu_true", path="src/uu/true" } -truncate = { optional=true, version="0.0.19", package="uu_truncate", path="src/uu/truncate" } -tsort = { optional=true, version="0.0.19", package="uu_tsort", path="src/uu/tsort" } -tty = { optional=true, version="0.0.19", package="uu_tty", path="src/uu/tty" } -uname = { optional=true, version="0.0.19", package="uu_uname", path="src/uu/uname" } -unexpand = { optional=true, version="0.0.19", package="uu_unexpand", path="src/uu/unexpand" } -uniq = { optional=true, version="0.0.19", package="uu_uniq", path="src/uu/uniq" } -unlink = { optional=true, version="0.0.19", package="uu_unlink", path="src/uu/unlink" } -uptime = { optional=true, version="0.0.19", package="uu_uptime", path="src/uu/uptime" } -users = { optional=true, version="0.0.19", package="uu_users", path="src/uu/users" } -vdir = { optional=true, version="0.0.19", package="uu_vdir", path="src/uu/vdir" } -wc = { optional=true, version="0.0.19", package="uu_wc", path="src/uu/wc" } -who = { optional=true, version="0.0.19", package="uu_who", path="src/uu/who" } -whoami = { optional=true, version="0.0.19", package="uu_whoami", path="src/uu/whoami" } -yes = { optional=true, version="0.0.19", package="uu_yes", path="src/uu/yes" } +arch = { optional = true, version = "0.0.19", package = "uu_arch", path = "src/uu/arch" } +base32 = { optional = true, version = "0.0.19", package = "uu_base32", path = "src/uu/base32" } +base64 = { optional = true, version = "0.0.19", package = "uu_base64", path = "src/uu/base64" } +basename = { optional = true, version = "0.0.19", package = "uu_basename", path = "src/uu/basename" } +basenc = { optional = true, version = "0.0.19", package = "uu_basenc", path = "src/uu/basenc" } +cat = { optional = true, version = "0.0.19", package = "uu_cat", path = "src/uu/cat" } +chcon = { optional = true, version = "0.0.19", package = "uu_chcon", path = "src/uu/chcon" } +chgrp = { optional = true, version = "0.0.19", package = "uu_chgrp", path = "src/uu/chgrp" } +chmod = { optional = true, version = "0.0.19", package = "uu_chmod", path = "src/uu/chmod" } +chown = { optional = true, version = "0.0.19", package = "uu_chown", path = "src/uu/chown" } +chroot = { optional = true, version = "0.0.19", package = "uu_chroot", path = "src/uu/chroot" } +cksum = { optional = true, version = "0.0.19", package = "uu_cksum", path = "src/uu/cksum" } +comm = { optional = true, version = "0.0.19", package = "uu_comm", path = "src/uu/comm" } +cp = { optional = true, version = "0.0.19", package = "uu_cp", path = "src/uu/cp" } +csplit = { optional = true, version = "0.0.19", package = "uu_csplit", path = "src/uu/csplit" } +cut = { optional = true, version = "0.0.19", package = "uu_cut", path = "src/uu/cut" } +date = { optional = true, version = "0.0.19", package = "uu_date", path = "src/uu/date" } +dd = { optional = true, version = "0.0.19", package = "uu_dd", path = "src/uu/dd" } +df = { optional = true, version = "0.0.19", package = "uu_df", path = "src/uu/df" } +dir = { optional = true, version = "0.0.19", package = "uu_dir", path = "src/uu/dir" } +dircolors = { optional = true, version = "0.0.19", package = "uu_dircolors", path = "src/uu/dircolors" } +dirname = { optional = true, version = "0.0.19", package = "uu_dirname", path = "src/uu/dirname" } +du = { optional = true, version = "0.0.19", package = "uu_du", path = "src/uu/du" } +echo = { optional = true, version = "0.0.19", package = "uu_echo", path = "src/uu/echo" } +env = { optional = true, version = "0.0.19", package = "uu_env", path = "src/uu/env" } +expand = { optional = true, version = "0.0.19", package = "uu_expand", path = "src/uu/expand" } +expr = { optional = true, version = "0.0.19", package = "uu_expr", path = "src/uu/expr" } +factor = { optional = true, version = "0.0.19", package = "uu_factor", path = "src/uu/factor" } +false = { optional = true, version = "0.0.19", package = "uu_false", path = "src/uu/false" } +fmt = { optional = true, version = "0.0.19", package = "uu_fmt", path = "src/uu/fmt" } +fold = { optional = true, version = "0.0.19", package = "uu_fold", path = "src/uu/fold" } +groups = { optional = true, version = "0.0.19", package = "uu_groups", path = "src/uu/groups" } +hashsum = { optional = true, version = "0.0.19", package = "uu_hashsum", path = "src/uu/hashsum" } +head = { optional = true, version = "0.0.19", package = "uu_head", path = "src/uu/head" } +hostid = { optional = true, version = "0.0.19", package = "uu_hostid", path = "src/uu/hostid" } +hostname = { optional = true, version = "0.0.19", package = "uu_hostname", path = "src/uu/hostname" } +id = { optional = true, version = "0.0.19", package = "uu_id", path = "src/uu/id" } +install = { optional = true, version = "0.0.19", package = "uu_install", path = "src/uu/install" } +join = { optional = true, version = "0.0.19", package = "uu_join", path = "src/uu/join" } +kill = { optional = true, version = "0.0.19", package = "uu_kill", path = "src/uu/kill" } +link = { optional = true, version = "0.0.19", package = "uu_link", path = "src/uu/link" } +ln = { optional = true, version = "0.0.19", package = "uu_ln", path = "src/uu/ln" } +ls = { optional = true, version = "0.0.19", package = "uu_ls", path = "src/uu/ls" } +logname = { optional = true, version = "0.0.19", package = "uu_logname", path = "src/uu/logname" } +mkdir = { optional = true, version = "0.0.19", package = "uu_mkdir", path = "src/uu/mkdir" } +mkfifo = { optional = true, version = "0.0.19", package = "uu_mkfifo", path = "src/uu/mkfifo" } +mknod = { optional = true, version = "0.0.19", package = "uu_mknod", path = "src/uu/mknod" } +mktemp = { optional = true, version = "0.0.19", package = "uu_mktemp", path = "src/uu/mktemp" } +more = { optional = true, version = "0.0.19", package = "uu_more", path = "src/uu/more" } +mv = { optional = true, version = "0.0.19", package = "uu_mv", path = "src/uu/mv" } +nice = { optional = true, version = "0.0.19", package = "uu_nice", path = "src/uu/nice" } +nl = { optional = true, version = "0.0.19", package = "uu_nl", path = "src/uu/nl" } +nohup = { optional = true, version = "0.0.19", package = "uu_nohup", path = "src/uu/nohup" } +nproc = { optional = true, version = "0.0.19", package = "uu_nproc", path = "src/uu/nproc" } +numfmt = { optional = true, version = "0.0.19", package = "uu_numfmt", path = "src/uu/numfmt" } +od = { optional = true, version = "0.0.19", package = "uu_od", path = "src/uu/od" } +paste = { optional = true, version = "0.0.19", package = "uu_paste", path = "src/uu/paste" } +pathchk = { optional = true, version = "0.0.19", package = "uu_pathchk", path = "src/uu/pathchk" } +pinky = { optional = true, version = "0.0.19", package = "uu_pinky", path = "src/uu/pinky" } +pr = { optional = true, version = "0.0.19", package = "uu_pr", path = "src/uu/pr" } +printenv = { optional = true, version = "0.0.19", package = "uu_printenv", path = "src/uu/printenv" } +printf = { optional = true, version = "0.0.19", package = "uu_printf", path = "src/uu/printf" } +ptx = { optional = true, version = "0.0.19", package = "uu_ptx", path = "src/uu/ptx" } +pwd = { optional = true, version = "0.0.19", package = "uu_pwd", path = "src/uu/pwd" } +readlink = { optional = true, version = "0.0.19", package = "uu_readlink", path = "src/uu/readlink" } +realpath = { optional = true, version = "0.0.19", package = "uu_realpath", path = "src/uu/realpath" } +relpath = { optional = true, version = "0.0.19", package = "uu_relpath", path = "src/uu/relpath" } +rm = { optional = true, version = "0.0.19", package = "uu_rm", path = "src/uu/rm" } +rmdir = { optional = true, version = "0.0.19", package = "uu_rmdir", path = "src/uu/rmdir" } +runcon = { optional = true, version = "0.0.19", package = "uu_runcon", path = "src/uu/runcon" } +seq = { optional = true, version = "0.0.19", package = "uu_seq", path = "src/uu/seq" } +shred = { optional = true, version = "0.0.19", package = "uu_shred", path = "src/uu/shred" } +shuf = { optional = true, version = "0.0.19", package = "uu_shuf", path = "src/uu/shuf" } +sleep = { optional = true, version = "0.0.19", package = "uu_sleep", path = "src/uu/sleep" } +sort = { optional = true, version = "0.0.19", package = "uu_sort", path = "src/uu/sort" } +split = { optional = true, version = "0.0.19", package = "uu_split", path = "src/uu/split" } +stat = { optional = true, version = "0.0.19", package = "uu_stat", path = "src/uu/stat" } +stdbuf = { optional = true, version = "0.0.19", package = "uu_stdbuf", path = "src/uu/stdbuf" } +stty = { optional = true, version = "0.0.19", package = "uu_stty", path = "src/uu/stty" } +sum = { optional = true, version = "0.0.19", package = "uu_sum", path = "src/uu/sum" } +sync = { optional = true, version = "0.0.19", package = "uu_sync", path = "src/uu/sync" } +tac = { optional = true, version = "0.0.19", package = "uu_tac", path = "src/uu/tac" } +tail = { optional = true, version = "0.0.19", package = "uu_tail", path = "src/uu/tail" } +tee = { optional = true, version = "0.0.19", package = "uu_tee", path = "src/uu/tee" } +timeout = { optional = true, version = "0.0.19", package = "uu_timeout", path = "src/uu/timeout" } +touch = { optional = true, version = "0.0.19", package = "uu_touch", path = "src/uu/touch" } +tr = { optional = true, version = "0.0.19", package = "uu_tr", path = "src/uu/tr" } +true = { optional = true, version = "0.0.19", package = "uu_true", path = "src/uu/true" } +truncate = { optional = true, version = "0.0.19", package = "uu_truncate", path = "src/uu/truncate" } +tsort = { optional = true, version = "0.0.19", package = "uu_tsort", path = "src/uu/tsort" } +tty = { optional = true, version = "0.0.19", package = "uu_tty", path = "src/uu/tty" } +uname = { optional = true, version = "0.0.19", package = "uu_uname", path = "src/uu/uname" } +unexpand = { optional = true, version = "0.0.19", package = "uu_unexpand", path = "src/uu/unexpand" } +uniq = { optional = true, version = "0.0.19", package = "uu_uniq", path = "src/uu/uniq" } +unlink = { optional = true, version = "0.0.19", package = "uu_unlink", path = "src/uu/unlink" } +uptime = { optional = true, version = "0.0.19", package = "uu_uptime", path = "src/uu/uptime" } +users = { optional = true, version = "0.0.19", package = "uu_users", path = "src/uu/users" } +vdir = { optional = true, version = "0.0.19", package = "uu_vdir", path = "src/uu/vdir" } +wc = { optional = true, version = "0.0.19", package = "uu_wc", path = "src/uu/wc" } +who = { optional = true, version = "0.0.19", package = "uu_who", path = "src/uu/who" } +whoami = { optional = true, version = "0.0.19", package = "uu_whoami", path = "src/uu/whoami" } +yes = { optional = true, version = "0.0.19", package = "uu_yes", path = "src/uu/yes" } # this breaks clippy linting with: "tests/by-util/test_factor_benches.rs: No such file or directory (os error 2)" # factor_benches = { optional = true, version = "0.0.0", package = "uu_factor_benches", path = "tests/benches/factor" } @@ -475,21 +475,21 @@ yes = { optional=true, version="0.0.19", package="uu_yes", path="src/uu/yes #pin_cc = { version="1.0.61, < 1.0.62", package="cc" } ## cc v1.0.62 has compiler errors for MinRustV v1.32.0, requires 1.34 (for `std::str::split_ascii_whitespace()`) [dev-dependencies] -chrono = { workspace=true } +chrono = { workspace = true } conv = "0.3" -filetime = { workspace=true } -glob = { workspace=true } -libc = { workspace=true } +filetime = { workspace = true } +glob = { workspace = true } +libc = { workspace = true } pretty_assertions = "1" -rand = { workspace=true } -regex = { workspace=true } -sha1 = { version="0.10", features=["std"] } -tempfile = { workspace=true } -time = { workspace=true, features=["local-offset"] } +rand = { workspace = true } +regex = { workspace = true } +sha1 = { version = "0.10", features = ["std"] } +tempfile = { workspace = true } +time = { workspace = true, features = ["local-offset"] } unindent = "0.2" -uucore = { workspace=true, features=["entries", "process", "signals"] } -walkdir = { workspace=true } -is-terminal = { workspace=true } +uucore = { workspace = true, features = ["entries", "process", "signals"] } +walkdir = { workspace = true } +is-terminal = { workspace = true } hex-literal = "0.4.1" rstest = "0.17.0" @@ -498,11 +498,11 @@ procfs = { version = "0.15", default-features = false } rlimit = "0.9.1" [target.'cfg(unix)'.dev-dependencies] -nix = { workspace=true, features=["process", "signal", "user"] } +nix = { workspace = true, features = ["process", "signal", "user"] } rand_pcg = "0.3" [build-dependencies] -phf_codegen = { workspace=true } +phf_codegen = { workspace = true } [[bin]] name = "coreutils" diff --git a/Makefile.toml b/Makefile.toml index ded2cd55b83..84698df5f98 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -20,15 +20,12 @@ run_task = "_init" [tasks._init] private = true -dependencies = [ - "_init-vars", -] +dependencies = ["_init-vars"] [tasks._init-vars] private = true script_runner = "@duckscript" -script = [ -''' +script = [''' # reset build/test flags set_env CARGO_MAKE_CARGO_BUILD_TEST_FLAGS "" # determine features @@ -90,54 +87,36 @@ for arg in "${args_utils_list}" end args_utils = trim "${args_utils}" set_env CARGO_MAKE_TASK_BUILD_UTILS_ARGS "${args_utils}" -''' -] +'''] ### tasks [tasks.default] description = "## *DEFAULT* Build (debug-mode) and test project" category = "[project]" -dependencies = [ - "action-build-debug", - "test-terse", -] +dependencies = ["action-build-debug", "test-terse"] ## [tasks.build] description = "## Build (release-mode) project" category = "[project]" -dependencies = [ - "core::pre-build", - "action-build-release", - "core::post-build", -] +dependencies = ["core::pre-build", "action-build-release", "core::post-build"] [tasks.build-debug] description = "## Build (debug-mode) project" category = "[project]" -dependencies = [ - "action-build-debug", -] +dependencies = ["action-build-debug"] [tasks.build-examples] description = "## Build (release-mode) project example(s); usage: `cargo make (build-examples | examples) [EXAMPLE]...`" category = "[project]" -dependencies = [ - "core::pre-build", - "action-build-examples", - "core::post-build", -] +dependencies = ["core::pre-build", "action-build-examples", "core::post-build"] [tasks.build-features] description = "## Build (with features; release-mode) project; usage: `cargo make (build-features | features) FEATURE...`" category = "[project]" -dependencies = [ - "core::pre-build", - "action-build-features", - "core::post-build", -] +dependencies = ["core::pre-build", "action-build-features", "core::post-build"] [tasks.build-release] alias = "build" @@ -148,9 +127,7 @@ alias = "build-debug" [tasks.example] description = "hidden singular-form alias for 'examples'" category = "[project]" -dependencies = [ - "examples", -] +dependencies = ["examples"] [tasks.examples] alias = "build-examples" @@ -161,17 +138,12 @@ alias = "build-features" [tasks.format] description = "## Format code files (with `cargo fmt`; includes tests)" category = "[project]" -dependencies = [ - "action-format", - "action-format-tests", -] +dependencies = ["action-format", "action-format-tests"] [tasks.help] description = "## Display help" category = "[project]" -dependencies = [ - "action-display-help", -] +dependencies = ["action-display-help"] [tasks.install] description = "## Install project binary (to $HOME/.cargo/bin)" @@ -182,10 +154,7 @@ args = ["install", "--path", "."] [tasks.lint] description = "## Display lint report" category = "[project]" -dependencies = [ - "action-clippy", - "action-fmt_report", -] +dependencies = ["action-clippy", "action-fmt_report"] [tasks.release] alias = "build" @@ -193,48 +162,32 @@ alias = "build" [tasks.test] description = "## Run project tests" category = "[project]" -dependencies = [ - "core::pre-test", - "core::test", - "core::post-test", -] +dependencies = ["core::pre-test", "core::test", "core::post-test"] [tasks.test-terse] description = "## Run project tests (with terse/summary output)" category = "[project]" -dependencies = [ - "core::pre-test", - "action-test_quiet", - "core::post-test", -] +dependencies = ["core::pre-test", "action-test_quiet", "core::post-test"] [tasks.test-util] description = "## Test (individual) utilities; usage: `cargo make (test-util | test-uutil) [UTIL_NAME...]`" category = "[project]" -dependencies = [ - "action-test-utils", -] +dependencies = ["action-test-utils"] [tasks.test-utils] description = "hidden plural-form alias for 'test-util'" category = "[project]" -dependencies = [ - "test-util", -] +dependencies = ["test-util"] [tasks.test-uutil] description = "hidden alias for 'test-util'" category = "[project]" -dependencies = [ - "test-util", -] +dependencies = ["test-util"] [tasks.test-uutils] description = "hidden alias for 'test-util'" category = "[project]" -dependencies = [ - "test-util", -] +dependencies = ["test-util"] [tasks.uninstall] description = "## Remove project binary (from $HOME/.cargo/bin)" @@ -246,63 +199,66 @@ args = ["uninstall"] description = "## Build (individual; release-mode) utilities; usage: `cargo make (util | uutil) [UTIL_NAME...]`" category = "[project]" dependencies = [ - "core::pre-build", - "action-determine-utils", - "action-build-utils", - "core::post-build", + "core::pre-build", + "action-determine-utils", + "action-build-utils", + "core::post-build", ] [tasks.utils] description = "hidden plural-form alias for 'util'" category = "[project]" -dependencies = [ - "util", -] +dependencies = ["util"] [tasks.uutil] description = "hidden alias for 'util'" category = "[project]" -dependencies = [ - "util", -] +dependencies = ["util"] [tasks.uutils] description = "hidden plural-form alias for 'util'" category = "[project]" -dependencies = [ - "util", -] +dependencies = ["util"] ### actions [tasks.action-build-release] description = "`cargo build --release`" command = "cargo" -args = ["build", "--release", "@@split(CARGO_MAKE_CARGO_BUILD_TEST_FLAGS, )" ] +args = ["build", "--release", "@@split(CARGO_MAKE_CARGO_BUILD_TEST_FLAGS, )"] [tasks.action-build-debug] description = "`cargo build`" command = "cargo" -args = ["build", "@@split(CARGO_MAKE_CARGO_BUILD_TEST_FLAGS, )" ] +args = ["build", "@@split(CARGO_MAKE_CARGO_BUILD_TEST_FLAGS, )"] [tasks.action-build-examples] description = "`cargo build (--examples|(--example EXAMPLE)...)`" command = "cargo" -args = ["build", "--release", "@@split(CARGO_MAKE_CARGO_BUILD_TEST_FLAGS, )", "${CARGO_MAKE_TASK_BUILD_EXAMPLES_ARGS}" ] +args = [ + "build", + "--release", + "@@split(CARGO_MAKE_CARGO_BUILD_TEST_FLAGS, )", + "${CARGO_MAKE_TASK_BUILD_EXAMPLES_ARGS}", +] [tasks.action-build-features] description = "`cargo build --release --features FEATURES`" command = "cargo" -args = ["build", "--release", "--no-default-features", "--features", "${CARGO_MAKE_TASK_BUILD_FEATURES_ARGS}" ] +args = [ + "build", + "--release", + "--no-default-features", + "--features", + "${CARGO_MAKE_TASK_BUILD_FEATURES_ARGS}", +] [tasks.action-build-utils] description = "Build individual utilities" -dependencies = [ - "action-determine-utils", -] +dependencies = ["action-determine-utils"] command = "cargo" # args = ["build", "@@remove-empty(CARGO_MAKE_TASK_BUILD_UTILS_ARGS)" ] -args = ["build", "--release", "@@split(CARGO_MAKE_TASK_BUILD_UTILS_ARGS, )" ] +args = ["build", "--release", "@@split(CARGO_MAKE_TASK_BUILD_UTILS_ARGS, )"] [tasks.action-clippy] description = "`cargo clippy` lint report" @@ -311,8 +267,7 @@ args = ["clippy", "@@split(CARGO_MAKE_CARGO_BUILD_TEST_FLAGS, )"] [tasks.action-determine-utils] script_runner = "@duckscript" -script = [ -''' +script = [''' package_options = get_env CARGO_MAKE_TASK_BUILD_UTILS_ARGS if is_empty "${package_options}" show_utils = get_env CARGO_MAKE_VAR_SHOW_UTILS @@ -335,13 +290,11 @@ if is_empty "${package_options}" package_options = trim "${package_options}" end_if set_env CARGO_MAKE_TASK_BUILD_UTILS_ARGS "${package_options}" -''' -] +'''] [tasks.action-determine-tests] script_runner = "@duckscript" -script = [ -''' +script = [''' test_files = glob_array tests/**/*.rs for file in ${test_files} file = replace "${file}" "\\" "/" @@ -354,8 +307,7 @@ for file in ${test_files} end_if end set_env CARGO_MAKE_VAR_TESTS "${tests}" -''' -] +'''] [tasks.action-format] description = "`cargo fmt`" @@ -364,9 +316,7 @@ args = ["fmt"] [tasks.action-format-tests] description = "`cargo fmt` tests" -dependencies = [ - "action-determine-tests", -] +dependencies = ["action-determine-tests"] command = "cargo" args = ["fmt", "--", "@@split(CARGO_MAKE_VAR_TESTS, )"] @@ -381,16 +331,18 @@ args = ["fmt", "--", "--check"] [tasks.action-spellcheck-codespell] description = "`codespell` spellcheck repository" command = "codespell" # (from `pip install codespell`) -args = [".", "--skip=*/.git,./target,./tests/fixtures", "--ignore-words-list=mut,od"] +args = [ + ".", + "--skip=*/.git,./target,./tests/fixtures", + "--ignore-words-list=mut,od", +] [tasks.action-test-utils] description = "Build individual utilities" -dependencies = [ - "action-determine-utils", -] +dependencies = ["action-determine-utils"] command = "cargo" # args = ["build", "@@remove-empty(CARGO_MAKE_TASK_BUILD_UTILS_ARGS)" ] -args = ["test", "@@split(CARGO_MAKE_TASK_BUILD_UTILS_ARGS, )" ] +args = ["test", "@@split(CARGO_MAKE_TASK_BUILD_UTILS_ARGS, )"] [tasks.action-test_quiet] description = "Test (in `--quiet` mode)" @@ -399,8 +351,7 @@ args = ["test", "--quiet", "@@split(CARGO_MAKE_CARGO_BUILD_TEST_FLAGS, )"] [tasks.action-display-help] script_runner = "@duckscript" -script = [ -''' +script = [''' echo "" echo "usage: `cargo make TARGET [ARGS...]`" echo "" @@ -432,5 +383,4 @@ script = [ end_if end echo "" -''' -] +'''] diff --git a/deny.toml b/deny.toml index c8498423048..3aaee354a98 100644 --- a/deny.toml +++ b/deny.toml @@ -11,7 +11,7 @@ unmaintained = "warn" yanked = "warn" notice = "warn" ignore = [ - #"RUSTSEC-0000-0000", + #"RUSTSEC-0000-0000", ] # This section is considered when running `cargo deny check licenses` @@ -20,15 +20,15 @@ ignore = [ [licenses] unlicensed = "deny" allow = [ - "MIT", - "Apache-2.0", - "ISC", - "BSD-2-Clause", - "BSD-2-Clause-FreeBSD", - "BSD-3-Clause", - "CC0-1.0", - "MPL-2.0", # XXX considered copyleft? - "Unicode-DFS-2016", + "MIT", + "Apache-2.0", + "ISC", + "BSD-2-Clause", + "BSD-2-Clause-FreeBSD", + "BSD-3-Clause", + "CC0-1.0", + "MPL-2.0", # XXX considered copyleft? + "Unicode-DFS-2016", ] copyleft = "deny" allow-osi-fsf-free = "neither" @@ -59,27 +59,27 @@ highlight = "all" # introduces it. # spell-checker: disable skip = [ - # is-terminal - { name = "hermit-abi", version = "0.3.1" }, - # procfs - { name = "rustix", version = "0.36.14" }, - { name = "linux-raw-sys", version = "0.1.4" }, - # various crates - { name = "windows-sys", version = "0.45.0" }, - { name = "windows-targets", version = "0.42.2" }, - { name = "windows_aarch64_gnullvm", version = "0.42.2" }, - { name = "windows_aarch64_msvc", version = "0.42.2" }, - { name = "windows_i686_gnu", version = "0.42.2" }, - { name = "windows_i686_msvc", version = "0.42.2" }, - { name = "windows_x86_64_gnu", version = "0.42.2" }, - { name = "windows_x86_64_gnullvm", version = "0.42.2" }, - { name = "windows_x86_64_msvc", version = "0.42.2" }, - # tempfile - { name = "redox_syscall", version = "0.3.5" }, - # cpp_macros - { name = "aho-corasick", version = "0.7.19" }, - # touch, can be remove when touch switches from time to chrono - { name = "humantime_to_duration", version = "0.2.1" }, + # is-terminal + { name = "hermit-abi", version = "0.3.1" }, + # procfs + { name = "rustix", version = "0.36.14" }, + { name = "linux-raw-sys", version = "0.1.4" }, + # various crates + { name = "windows-sys", version = "0.45.0" }, + { name = "windows-targets", version = "0.42.2" }, + { name = "windows_aarch64_gnullvm", version = "0.42.2" }, + { name = "windows_aarch64_msvc", version = "0.42.2" }, + { name = "windows_i686_gnu", version = "0.42.2" }, + { name = "windows_i686_msvc", version = "0.42.2" }, + { name = "windows_x86_64_gnu", version = "0.42.2" }, + { name = "windows_x86_64_gnullvm", version = "0.42.2" }, + { name = "windows_x86_64_msvc", version = "0.42.2" }, + # tempfile + { name = "redox_syscall", version = "0.3.5" }, + # cpp_macros + { name = "aho-corasick", version = "0.7.19" }, + # touch, can be remove when touch switches from time to chrono + { name = "humantime_to_duration", version = "0.2.1" }, ] # spell-checker: enable diff --git a/docs/book.toml b/docs/book.toml index b9b31cfaf61..f2da19338c5 100644 --- a/docs/book.toml +++ b/docs/book.toml @@ -10,4 +10,4 @@ git-repository-url = "https://github.com/rust-lang/cargo/tree/master/src/doc/src [preprocessor.toc] command = "mdbook-toc" -renderer = ["html"] \ No newline at end of file +renderer = ["html"] diff --git a/src/uu/arch/Cargo.toml b/src/uu/arch/Cargo.toml index 10df726e1bd..42ac16b8918 100644 --- a/src/uu/arch/Cargo.toml +++ b/src/uu/arch/Cargo.toml @@ -15,9 +15,9 @@ edition = "2021" path = "src/arch.rs" [dependencies] -platform-info = { workspace=true } -clap = { workspace=true } -uucore = { workspace=true } +platform-info = { workspace = true } +clap = { workspace = true } +uucore = { workspace = true } [[bin]] name = "arch" diff --git a/src/uu/base32/Cargo.toml b/src/uu/base32/Cargo.toml index 077204e1fd7..ea718e8dc27 100644 --- a/src/uu/base32/Cargo.toml +++ b/src/uu/base32/Cargo.toml @@ -15,8 +15,8 @@ edition = "2021" path = "src/base32.rs" [dependencies] -clap = { workspace=true } -uucore = { workspace=true, features = ["encoding"] } +clap = { workspace = true } +uucore = { workspace = true, features = ["encoding"] } [[bin]] name = "base32" diff --git a/src/uu/base64/Cargo.toml b/src/uu/base64/Cargo.toml index e21b34161c7..ba822907382 100644 --- a/src/uu/base64/Cargo.toml +++ b/src/uu/base64/Cargo.toml @@ -15,8 +15,8 @@ edition = "2021" path = "src/base64.rs" [dependencies] -uucore = { workspace=true, features = ["encoding"] } -uu_base32 = { workspace=true } +uucore = { workspace = true, features = ["encoding"] } +uu_base32 = { workspace = true } [[bin]] name = "base64" diff --git a/src/uu/basename/Cargo.toml b/src/uu/basename/Cargo.toml index c17651506e0..a1ea12c5ee3 100644 --- a/src/uu/basename/Cargo.toml +++ b/src/uu/basename/Cargo.toml @@ -15,8 +15,8 @@ edition = "2021" path = "src/basename.rs" [dependencies] -clap = { workspace=true } -uucore = { workspace=true } +clap = { workspace = true } +uucore = { workspace = true } [[bin]] name = "basename" diff --git a/src/uu/basenc/Cargo.toml b/src/uu/basenc/Cargo.toml index 3e8c3ed8ad1..20665402a9c 100644 --- a/src/uu/basenc/Cargo.toml +++ b/src/uu/basenc/Cargo.toml @@ -15,9 +15,9 @@ edition = "2021" path = "src/basenc.rs" [dependencies] -clap = { workspace=true } -uucore = { workspace=true, features = ["encoding"] } -uu_base32 = { workspace=true } +clap = { workspace = true } +uucore = { workspace = true, features = ["encoding"] } +uu_base32 = { workspace = true } [[bin]] name = "basenc" diff --git a/src/uu/cat/Cargo.toml b/src/uu/cat/Cargo.toml index 2b78e9da759..e341fb5353d 100644 --- a/src/uu/cat/Cargo.toml +++ b/src/uu/cat/Cargo.toml @@ -15,13 +15,13 @@ edition = "2021" path = "src/cat.rs" [dependencies] -clap = { workspace=true } +clap = { workspace = true } thiserror = { workspace = true } is-terminal = { workspace = true } -uucore = { workspace=true, features=["fs", "pipes"] } +uucore = { workspace = true, features = ["fs", "pipes"] } [target.'cfg(unix)'.dependencies] -nix = { workspace=true } +nix = { workspace = true } [[bin]] name = "cat" diff --git a/src/uu/chcon/Cargo.toml b/src/uu/chcon/Cargo.toml index 53165dfe0fa..58d6b9b469a 100644 --- a/src/uu/chcon/Cargo.toml +++ b/src/uu/chcon/Cargo.toml @@ -14,12 +14,12 @@ edition = "2021" path = "src/chcon.rs" [dependencies] -clap = { workspace=true } -uucore = { workspace=true, features=["entries", "fs", "perms"] } -selinux = { workspace=true } +clap = { workspace = true } +uucore = { workspace = true, features = ["entries", "fs", "perms"] } +selinux = { workspace = true } thiserror = { workspace = true } -libc = { workspace=true } -fts-sys = { workspace=true } +libc = { workspace = true } +fts-sys = { workspace = true } [[bin]] name = "chcon" diff --git a/src/uu/chgrp/Cargo.toml b/src/uu/chgrp/Cargo.toml index cceb32658d5..97ffc09b728 100644 --- a/src/uu/chgrp/Cargo.toml +++ b/src/uu/chgrp/Cargo.toml @@ -15,8 +15,8 @@ edition = "2021" path = "src/chgrp.rs" [dependencies] -clap = { workspace=true } -uucore = { workspace=true, features=["entries", "fs", "perms"] } +clap = { workspace = true } +uucore = { workspace = true, features = ["entries", "fs", "perms"] } [[bin]] name = "chgrp" diff --git a/src/uu/chmod/Cargo.toml b/src/uu/chmod/Cargo.toml index af133128da1..a4b4b799d79 100644 --- a/src/uu/chmod/Cargo.toml +++ b/src/uu/chmod/Cargo.toml @@ -15,9 +15,9 @@ edition = "2021" path = "src/chmod.rs" [dependencies] -clap = { workspace=true } -libc = { workspace=true } -uucore = { workspace=true, features=["fs", "mode"] } +clap = { workspace = true } +libc = { workspace = true } +uucore = { workspace = true, features = ["fs", "mode"] } [[bin]] name = "chmod" diff --git a/src/uu/chown/Cargo.toml b/src/uu/chown/Cargo.toml index 0b4db615d9b..cd1f881eed5 100644 --- a/src/uu/chown/Cargo.toml +++ b/src/uu/chown/Cargo.toml @@ -15,8 +15,8 @@ edition = "2021" path = "src/chown.rs" [dependencies] -clap = { workspace=true } -uucore = { workspace=true, features=["entries", "fs", "perms"] } +clap = { workspace = true } +uucore = { workspace = true, features = ["entries", "fs", "perms"] } [[bin]] name = "chown" diff --git a/src/uu/chroot/Cargo.toml b/src/uu/chroot/Cargo.toml index 1c3527eda96..1256a96c817 100644 --- a/src/uu/chroot/Cargo.toml +++ b/src/uu/chroot/Cargo.toml @@ -15,8 +15,8 @@ edition = "2021" path = "src/chroot.rs" [dependencies] -clap = { workspace=true } -uucore = { workspace=true, features=["entries", "fs"] } +clap = { workspace = true } +uucore = { workspace = true, features = ["entries", "fs"] } [[bin]] name = "chroot" diff --git a/src/uu/cksum/Cargo.toml b/src/uu/cksum/Cargo.toml index 707a7ee5cd0..345dfb23841 100644 --- a/src/uu/cksum/Cargo.toml +++ b/src/uu/cksum/Cargo.toml @@ -15,9 +15,9 @@ edition = "2021" path = "src/cksum.rs" [dependencies] -clap = { workspace=true } -uucore = { workspace=true, features=["sum"] } -hex = { workspace=true } +clap = { workspace = true } +uucore = { workspace = true, features = ["sum"] } +hex = { workspace = true } [[bin]] name = "cksum" diff --git a/src/uu/comm/Cargo.toml b/src/uu/comm/Cargo.toml index 31fda282f44..e5947bb84ef 100644 --- a/src/uu/comm/Cargo.toml +++ b/src/uu/comm/Cargo.toml @@ -15,8 +15,8 @@ edition = "2021" path = "src/comm.rs" [dependencies] -clap = { workspace=true } -uucore = { workspace=true } +clap = { workspace = true } +uucore = { workspace = true } [[bin]] name = "comm" diff --git a/src/uu/cp/Cargo.toml b/src/uu/cp/Cargo.toml index b14add46380..ff8f21160b3 100644 --- a/src/uu/cp/Cargo.toml +++ b/src/uu/cp/Cargo.toml @@ -2,9 +2,9 @@ name = "uu_cp" version = "0.0.19" authors = [ - "Jordy Dickinson ", - "Joshua S. Miller ", - "uutils developers", + "Jordy Dickinson ", + "Joshua S. Miller ", + "uutils developers", ] license = "MIT" description = "cp ~ (uutils) copy SOURCE to DESTINATION" @@ -19,18 +19,18 @@ edition = "2021" path = "src/cp.rs" [dependencies] -clap = { workspace=true } -filetime = { workspace=true } -libc = { workspace=true } -quick-error = { workspace=true } -selinux = { workspace=true, optional=true } -uucore = { workspace=true, features=["entries", "fs", "perms", "mode"] } -walkdir = { workspace=true } -indicatif = { workspace=true } +clap = { workspace = true } +filetime = { workspace = true } +libc = { workspace = true } +quick-error = { workspace = true } +selinux = { workspace = true, optional = true } +uucore = { workspace = true, features = ["entries", "fs", "perms", "mode"] } +walkdir = { workspace = true } +indicatif = { workspace = true } [target.'cfg(unix)'.dependencies] -xattr = { workspace=true } -exacl = { workspace=true, optional=true } +xattr = { workspace = true } +exacl = { workspace = true, optional = true } [[bin]] name = "cp" diff --git a/src/uu/csplit/Cargo.toml b/src/uu/csplit/Cargo.toml index 3d0bafb4844..023d972434e 100644 --- a/src/uu/csplit/Cargo.toml +++ b/src/uu/csplit/Cargo.toml @@ -15,10 +15,10 @@ edition = "2021" path = "src/csplit.rs" [dependencies] -clap = { workspace=true } +clap = { workspace = true } thiserror = { workspace = true } -regex = { workspace=true } -uucore = { workspace=true, features=["entries", "fs"] } +regex = { workspace = true } +uucore = { workspace = true, features = ["entries", "fs"] } [[bin]] name = "csplit" diff --git a/src/uu/cut/Cargo.toml b/src/uu/cut/Cargo.toml index d6b9d932f62..6e8c28d74ac 100644 --- a/src/uu/cut/Cargo.toml +++ b/src/uu/cut/Cargo.toml @@ -15,11 +15,11 @@ edition = "2021" path = "src/cut.rs" [dependencies] -clap = { workspace=true } -uucore = { workspace=true } -memchr = { workspace=true } -bstr = { workspace=true } -is-terminal = { workspace=true } +clap = { workspace = true } +uucore = { workspace = true } +memchr = { workspace = true } +bstr = { workspace = true } +is-terminal = { workspace = true } [[bin]] name = "cut" diff --git a/src/uu/date/Cargo.toml b/src/uu/date/Cargo.toml index 1ffcbed6665..62308bf53ac 100644 --- a/src/uu/date/Cargo.toml +++ b/src/uu/date/Cargo.toml @@ -16,16 +16,19 @@ edition = "2021" path = "src/date.rs" [dependencies] -chrono = { workspace=true } -clap = { workspace=true } -uucore = { workspace=true } -humantime_to_duration = { workspace=true } +chrono = { workspace = true } +clap = { workspace = true } +uucore = { workspace = true } +humantime_to_duration = { workspace = true } [target.'cfg(unix)'.dependencies] -libc = { workspace=true } +libc = { workspace = true } [target.'cfg(windows)'.dependencies] -windows-sys = { workspace=true, features = ["Win32_Foundation", "Win32_System_SystemInformation"] } +windows-sys = { workspace = true, features = [ + "Win32_Foundation", + "Win32_System_SystemInformation", +] } [[bin]] name = "date" diff --git a/src/uu/dd/Cargo.toml b/src/uu/dd/Cargo.toml index 1b0b015beb6..0ac25657eff 100644 --- a/src/uu/dd/Cargo.toml +++ b/src/uu/dd/Cargo.toml @@ -15,16 +15,16 @@ edition = "2021" path = "src/dd.rs" [dependencies] -clap = { workspace=true } -gcd = { workspace=true } -libc = { workspace=true } -uucore = { workspace=true, features=["memo"] } +clap = { workspace = true } +gcd = { workspace = true } +libc = { workspace = true } +uucore = { workspace = true, features = ["memo"] } [target.'cfg(any(target_os = "linux"))'.dependencies] -nix = { workspace=true, features = ["fs"] } +nix = { workspace = true, features = ["fs"] } [target.'cfg(any(target_os = "linux", target_os = "android"))'.dependencies] -signal-hook = { workspace=true } +signal-hook = { workspace = true } [[bin]] name = "dd" diff --git a/src/uu/df/Cargo.toml b/src/uu/df/Cargo.toml index 159c876850d..0974a443c5d 100644 --- a/src/uu/df/Cargo.toml +++ b/src/uu/df/Cargo.toml @@ -15,9 +15,9 @@ edition = "2021" path = "src/df.rs" [dependencies] -clap = { workspace=true } -uucore = { workspace=true, features=["libc", "fsext"] } -unicode-width = { workspace=true } +clap = { workspace = true } +uucore = { workspace = true, features = ["libc", "fsext"] } +unicode-width = { workspace = true } [[bin]] name = "df" diff --git a/src/uu/dir/Cargo.toml b/src/uu/dir/Cargo.toml index 2a3adda9630..d61b041dcfe 100644 --- a/src/uu/dir/Cargo.toml +++ b/src/uu/dir/Cargo.toml @@ -15,9 +15,9 @@ edition = "2021" path = "src/dir.rs" [dependencies] -clap = { workspace=true, features = ["env"] } -uucore = { workspace=true, features=["entries", "fs"] } -uu_ls = { workspace=true } +clap = { workspace = true, features = ["env"] } +uucore = { workspace = true, features = ["entries", "fs"] } +uu_ls = { workspace = true } [[bin]] name = "dir" diff --git a/src/uu/dircolors/Cargo.toml b/src/uu/dircolors/Cargo.toml index d922c1cf3e4..952e7ad3f74 100644 --- a/src/uu/dircolors/Cargo.toml +++ b/src/uu/dircolors/Cargo.toml @@ -15,8 +15,8 @@ edition = "2021" path = "src/dircolors.rs" [dependencies] -clap = { workspace=true } -uucore = { workspace=true } +clap = { workspace = true } +uucore = { workspace = true } [[bin]] name = "dircolors" diff --git a/src/uu/dirname/Cargo.toml b/src/uu/dirname/Cargo.toml index cd211661d75..46dec707df3 100644 --- a/src/uu/dirname/Cargo.toml +++ b/src/uu/dirname/Cargo.toml @@ -15,8 +15,8 @@ edition = "2021" path = "src/dirname.rs" [dependencies] -clap = { workspace=true } -uucore = { workspace=true } +clap = { workspace = true } +uucore = { workspace = true } [[bin]] name = "dirname" diff --git a/src/uu/du/Cargo.toml b/src/uu/du/Cargo.toml index 6e883f769d4..693e7c81cda 100644 --- a/src/uu/du/Cargo.toml +++ b/src/uu/du/Cargo.toml @@ -15,14 +15,17 @@ edition = "2021" path = "src/du.rs" [dependencies] -chrono = { workspace=true } +chrono = { workspace = true } # For the --exclude & --exclude-from options -glob = { workspace=true } -clap = { workspace=true } -uucore = { workspace=true } +glob = { workspace = true } +clap = { workspace = true } +uucore = { workspace = true } [target.'cfg(target_os = "windows")'.dependencies] -windows-sys = { workspace=true, features = ["Win32_Storage_FileSystem", "Win32_Foundation"] } +windows-sys = { workspace = true, features = [ + "Win32_Storage_FileSystem", + "Win32_Foundation", +] } [[bin]] name = "du" diff --git a/src/uu/echo/Cargo.toml b/src/uu/echo/Cargo.toml index 90ea2259845..e12460a51b5 100644 --- a/src/uu/echo/Cargo.toml +++ b/src/uu/echo/Cargo.toml @@ -15,8 +15,8 @@ edition = "2021" path = "src/echo.rs" [dependencies] -clap = { workspace=true } -uucore = { workspace=true } +clap = { workspace = true } +uucore = { workspace = true } [[bin]] name = "echo" diff --git a/src/uu/env/Cargo.toml b/src/uu/env/Cargo.toml index 8a19ce12130..2b05cd3e7b7 100644 --- a/src/uu/env/Cargo.toml +++ b/src/uu/env/Cargo.toml @@ -15,12 +15,12 @@ edition = "2021" path = "src/env.rs" [dependencies] -clap = { workspace=true } -rust-ini = { workspace=true } -uucore = { workspace=true, features=["signals"]} +clap = { workspace = true } +rust-ini = { workspace = true } +uucore = { workspace = true, features = ["signals"] } [target.'cfg(unix)'.dependencies] -nix = { workspace=true, features = ["signal"] } +nix = { workspace = true, features = ["signal"] } [[bin]] diff --git a/src/uu/expand/Cargo.toml b/src/uu/expand/Cargo.toml index 1f923f9bcca..dd0b769827f 100644 --- a/src/uu/expand/Cargo.toml +++ b/src/uu/expand/Cargo.toml @@ -15,9 +15,9 @@ edition = "2021" path = "src/expand.rs" [dependencies] -clap = { workspace=true } -unicode-width = { workspace=true } -uucore = { workspace=true } +clap = { workspace = true } +unicode-width = { workspace = true } +uucore = { workspace = true } [[bin]] name = "expand" diff --git a/src/uu/expr/Cargo.toml b/src/uu/expr/Cargo.toml index f28215e0f50..68224ee45c0 100644 --- a/src/uu/expr/Cargo.toml +++ b/src/uu/expr/Cargo.toml @@ -15,11 +15,11 @@ edition = "2021" path = "src/expr.rs" [dependencies] -clap = { workspace=true } -num-bigint = { workspace=true } -num-traits = { workspace=true } -onig = { workspace=true } -uucore = { workspace=true } +clap = { workspace = true } +num-bigint = { workspace = true } +num-traits = { workspace = true } +onig = { workspace = true } +uucore = { workspace = true } [[bin]] name = "expr" diff --git a/src/uu/factor/Cargo.toml b/src/uu/factor/Cargo.toml index b70976b7680..a0fc539e167 100644 --- a/src/uu/factor/Cargo.toml +++ b/src/uu/factor/Cargo.toml @@ -12,15 +12,15 @@ categories = ["command-line-utilities"] edition = "2021" [build-dependencies] -num-traits = { workspace=true } # used in src/numerics.rs, which is included by build.rs +num-traits = { workspace = true } # used in src/numerics.rs, which is included by build.rs [dependencies] -clap = { workspace=true } -coz = { workspace=true, optional = true } -num-traits = { workspace=true } -rand = { workspace=true } -smallvec = { workspace=true } -uucore = { workspace=true } +clap = { workspace = true } +coz = { workspace = true, optional = true } +num-traits = { workspace = true } +rand = { workspace = true } +smallvec = { workspace = true } +uucore = { workspace = true } [dev-dependencies] quickcheck = "1.0.3" diff --git a/src/uu/false/Cargo.toml b/src/uu/false/Cargo.toml index 84ac4e553a0..88b5751cb25 100644 --- a/src/uu/false/Cargo.toml +++ b/src/uu/false/Cargo.toml @@ -15,8 +15,8 @@ edition = "2021" path = "src/false.rs" [dependencies] -clap = { workspace=true } -uucore = { workspace=true } +clap = { workspace = true } +uucore = { workspace = true } [[bin]] name = "false" diff --git a/src/uu/fmt/Cargo.toml b/src/uu/fmt/Cargo.toml index df51f659cc4..0de6218b864 100644 --- a/src/uu/fmt/Cargo.toml +++ b/src/uu/fmt/Cargo.toml @@ -15,9 +15,9 @@ edition = "2021" path = "src/fmt.rs" [dependencies] -clap = { workspace=true } -unicode-width = { workspace=true } -uucore = { workspace=true } +clap = { workspace = true } +unicode-width = { workspace = true } +uucore = { workspace = true } [[bin]] name = "fmt" diff --git a/src/uu/fold/Cargo.toml b/src/uu/fold/Cargo.toml index bb7e3fa07da..f0377c5ab83 100644 --- a/src/uu/fold/Cargo.toml +++ b/src/uu/fold/Cargo.toml @@ -15,8 +15,8 @@ edition = "2021" path = "src/fold.rs" [dependencies] -clap = { workspace=true } -uucore = { workspace=true } +clap = { workspace = true } +uucore = { workspace = true } [[bin]] name = "fold" diff --git a/src/uu/groups/Cargo.toml b/src/uu/groups/Cargo.toml index 3feb634b6f1..a33b34f7616 100644 --- a/src/uu/groups/Cargo.toml +++ b/src/uu/groups/Cargo.toml @@ -15,8 +15,8 @@ edition = "2021" path = "src/groups.rs" [dependencies] -clap = { workspace=true } -uucore = { workspace=true, features=["entries", "process"] } +clap = { workspace = true } +uucore = { workspace = true, features = ["entries", "process"] } [[bin]] name = "groups" diff --git a/src/uu/hashsum/Cargo.toml b/src/uu/hashsum/Cargo.toml index 84b19d6e5d3..0a12254d04b 100644 --- a/src/uu/hashsum/Cargo.toml +++ b/src/uu/hashsum/Cargo.toml @@ -15,11 +15,11 @@ edition = "2021" path = "src/hashsum.rs" [dependencies] -clap = { workspace=true } -uucore = { workspace=true, features=["sum"] } -memchr = { workspace=true } -regex = { workspace=true } -hex = { workspace=true } +clap = { workspace = true } +uucore = { workspace = true, features = ["sum"] } +memchr = { workspace = true } +regex = { workspace = true } +hex = { workspace = true } [[bin]] name = "hashsum" diff --git a/src/uu/head/Cargo.toml b/src/uu/head/Cargo.toml index d680a6eb764..6b53b1526b9 100644 --- a/src/uu/head/Cargo.toml +++ b/src/uu/head/Cargo.toml @@ -15,9 +15,9 @@ edition = "2021" path = "src/head.rs" [dependencies] -clap = { workspace=true } -memchr = { workspace=true } -uucore = { workspace=true, features=["ringbuffer", "lines"] } +clap = { workspace = true } +memchr = { workspace = true } +uucore = { workspace = true, features = ["ringbuffer", "lines"] } [[bin]] name = "head" diff --git a/src/uu/hostid/Cargo.toml b/src/uu/hostid/Cargo.toml index 67045e8f694..175c3193058 100644 --- a/src/uu/hostid/Cargo.toml +++ b/src/uu/hostid/Cargo.toml @@ -15,9 +15,9 @@ edition = "2021" path = "src/hostid.rs" [dependencies] -clap = { workspace=true } -libc = { workspace=true } -uucore = { workspace=true } +clap = { workspace = true } +libc = { workspace = true } +uucore = { workspace = true } [[bin]] name = "hostid" diff --git a/src/uu/hostname/Cargo.toml b/src/uu/hostname/Cargo.toml index 718bf43db99..d94a703ebf3 100644 --- a/src/uu/hostname/Cargo.toml +++ b/src/uu/hostname/Cargo.toml @@ -15,12 +15,15 @@ edition = "2021" path = "src/hostname.rs" [dependencies] -clap = { workspace=true } +clap = { workspace = true } hostname = { version = "0.3", features = ["set"] } -uucore = { workspace=true, features=["wide"] } +uucore = { workspace = true, features = ["wide"] } [target.'cfg(target_os = "windows")'.dependencies] -windows-sys = { workspace=true, features = ["Win32_Networking_WinSock", "Win32_Foundation"] } +windows-sys = { workspace = true, features = [ + "Win32_Networking_WinSock", + "Win32_Foundation", +] } [[bin]] name = "hostname" diff --git a/src/uu/id/Cargo.toml b/src/uu/id/Cargo.toml index 9e0a35f7f2c..4d32f6e59d0 100644 --- a/src/uu/id/Cargo.toml +++ b/src/uu/id/Cargo.toml @@ -15,9 +15,9 @@ edition = "2021" path = "src/id.rs" [dependencies] -clap = { workspace=true } -uucore = { workspace=true, features=["entries", "process"] } -selinux = { workspace=true, optional=true } +clap = { workspace = true } +uucore = { workspace = true, features = ["entries", "process"] } +selinux = { workspace = true, optional = true } [[bin]] name = "id" diff --git a/src/uu/install/Cargo.toml b/src/uu/install/Cargo.toml index b833babad49..14be22a9774 100644 --- a/src/uu/install/Cargo.toml +++ b/src/uu/install/Cargo.toml @@ -1,10 +1,7 @@ [package] name = "uu_install" version = "0.0.19" -authors = [ - "Ben Eills ", - "uutils developers", -] +authors = ["Ben Eills ", "uutils developers"] license = "MIT" description = "install ~ (uutils) copy files from SOURCE to DESTINATION (with specified attributes)" @@ -18,11 +15,11 @@ edition = "2021" path = "src/install.rs" [dependencies] -clap = { workspace=true } -filetime = { workspace=true } -file_diff = { workspace=true } -libc = { workspace=true } -uucore = { workspace=true, features=["fs", "mode", "perms", "entries"] } +clap = { workspace = true } +filetime = { workspace = true } +file_diff = { workspace = true } +libc = { workspace = true } +uucore = { workspace = true, features = ["fs", "mode", "perms", "entries"] } [[bin]] name = "install" diff --git a/src/uu/join/Cargo.toml b/src/uu/join/Cargo.toml index a2c6d19bc4b..946056cc189 100644 --- a/src/uu/join/Cargo.toml +++ b/src/uu/join/Cargo.toml @@ -15,9 +15,9 @@ edition = "2021" path = "src/join.rs" [dependencies] -clap = { workspace=true } -uucore = { workspace=true } -memchr = { workspace=true } +clap = { workspace = true } +uucore = { workspace = true } +memchr = { workspace = true } [[bin]] name = "join" diff --git a/src/uu/kill/Cargo.toml b/src/uu/kill/Cargo.toml index e373bfe782d..1f5515d03b2 100644 --- a/src/uu/kill/Cargo.toml +++ b/src/uu/kill/Cargo.toml @@ -15,9 +15,9 @@ edition = "2021" path = "src/kill.rs" [dependencies] -clap = { workspace=true } -nix = { workspace=true, features = ["signal"] } -uucore = { workspace=true, features=["signals"] } +clap = { workspace = true } +nix = { workspace = true, features = ["signal"] } +uucore = { workspace = true, features = ["signals"] } [[bin]] name = "kill" diff --git a/src/uu/link/Cargo.toml b/src/uu/link/Cargo.toml index 6f034dcae83..fae9d59d94f 100644 --- a/src/uu/link/Cargo.toml +++ b/src/uu/link/Cargo.toml @@ -15,8 +15,8 @@ edition = "2021" path = "src/link.rs" [dependencies] -clap = { workspace=true } -uucore = { workspace=true } +clap = { workspace = true } +uucore = { workspace = true } [[bin]] name = "link" diff --git a/src/uu/ln/Cargo.toml b/src/uu/ln/Cargo.toml index b31f64f301a..c4260cb8f4e 100644 --- a/src/uu/ln/Cargo.toml +++ b/src/uu/ln/Cargo.toml @@ -15,8 +15,8 @@ edition = "2021" path = "src/ln.rs" [dependencies] -clap = { workspace=true } -uucore = { workspace=true, features=["fs"] } +clap = { workspace = true } +uucore = { workspace = true, features = ["fs"] } [[bin]] name = "ln" diff --git a/src/uu/logname/Cargo.toml b/src/uu/logname/Cargo.toml index 19a4ab0351e..a6bb6b0b7dd 100644 --- a/src/uu/logname/Cargo.toml +++ b/src/uu/logname/Cargo.toml @@ -15,9 +15,9 @@ edition = "2021" path = "src/logname.rs" [dependencies] -libc = { workspace=true } -clap = { workspace=true } -uucore = { workspace=true } +libc = { workspace = true } +clap = { workspace = true } +uucore = { workspace = true } [[bin]] name = "logname" diff --git a/src/uu/ls/Cargo.toml b/src/uu/ls/Cargo.toml index e162aeab13e..196e29795fa 100644 --- a/src/uu/ls/Cargo.toml +++ b/src/uu/ls/Cargo.toml @@ -15,18 +15,18 @@ edition = "2021" path = "src/ls.rs" [dependencies] -clap = { workspace=true, features = ["env"] } -chrono = { workspace=true } -unicode-width = { workspace=true } -number_prefix = { workspace=true } -term_grid = { workspace=true } -terminal_size = { workspace=true } -glob = { workspace=true } -lscolors = { workspace=true } -uucore = { workspace=true, features = ["entries", "fs"] } -once_cell = { workspace=true } -is-terminal = { workspace=true } -selinux = { workspace=true, optional = true } +clap = { workspace = true, features = ["env"] } +chrono = { workspace = true } +unicode-width = { workspace = true } +number_prefix = { workspace = true } +term_grid = { workspace = true } +terminal_size = { workspace = true } +glob = { workspace = true } +lscolors = { workspace = true } +uucore = { workspace = true, features = ["entries", "fs"] } +once_cell = { workspace = true } +is-terminal = { workspace = true } +selinux = { workspace = true, optional = true } [[bin]] name = "ls" diff --git a/src/uu/mkdir/Cargo.toml b/src/uu/mkdir/Cargo.toml index 24ce412d32f..9d1edc5c663 100644 --- a/src/uu/mkdir/Cargo.toml +++ b/src/uu/mkdir/Cargo.toml @@ -15,8 +15,8 @@ edition = "2021" path = "src/mkdir.rs" [dependencies] -clap = { workspace=true } -uucore = { workspace=true, features=["fs", "mode"] } +clap = { workspace = true } +uucore = { workspace = true, features = ["fs", "mode"] } [[bin]] name = "mkdir" diff --git a/src/uu/mkfifo/Cargo.toml b/src/uu/mkfifo/Cargo.toml index 2e24bb53dc4..54a4a51b56d 100644 --- a/src/uu/mkfifo/Cargo.toml +++ b/src/uu/mkfifo/Cargo.toml @@ -15,9 +15,9 @@ edition = "2021" path = "src/mkfifo.rs" [dependencies] -clap = { workspace=true } -libc = { workspace=true } -uucore = { workspace=true } +clap = { workspace = true } +libc = { workspace = true } +uucore = { workspace = true } [[bin]] name = "mkfifo" diff --git a/src/uu/mknod/Cargo.toml b/src/uu/mknod/Cargo.toml index 8a50a61fc7c..d73ea59b7a8 100644 --- a/src/uu/mknod/Cargo.toml +++ b/src/uu/mknod/Cargo.toml @@ -16,9 +16,9 @@ name = "uu_mknod" path = "src/mknod.rs" [dependencies] -clap = { workspace=true } -libc = { workspace=true } -uucore = { workspace=true, features=["mode"] } +clap = { workspace = true } +libc = { workspace = true } +uucore = { workspace = true, features = ["mode"] } [[bin]] name = "mknod" diff --git a/src/uu/mktemp/Cargo.toml b/src/uu/mktemp/Cargo.toml index 31bd53a00b1..001bf541114 100644 --- a/src/uu/mktemp/Cargo.toml +++ b/src/uu/mktemp/Cargo.toml @@ -15,10 +15,10 @@ edition = "2021" path = "src/mktemp.rs" [dependencies] -clap = { workspace=true } -rand = { workspace=true } -tempfile = { workspace=true } -uucore = { workspace=true } +clap = { workspace = true } +rand = { workspace = true } +tempfile = { workspace = true } +uucore = { workspace = true } [[bin]] name = "mktemp" diff --git a/src/uu/more/Cargo.toml b/src/uu/more/Cargo.toml index a19fc577da3..ff677ad8758 100644 --- a/src/uu/more/Cargo.toml +++ b/src/uu/more/Cargo.toml @@ -15,15 +15,15 @@ edition = "2021" path = "src/more.rs" [dependencies] -clap = { workspace=true } -uucore = { workspace=true } -crossterm = { workspace=true } -is-terminal = { workspace=true } -unicode-width = { workspace=true } -unicode-segmentation = { workspace=true } +clap = { workspace = true } +uucore = { workspace = true } +crossterm = { workspace = true } +is-terminal = { workspace = true } +unicode-width = { workspace = true } +unicode-segmentation = { workspace = true } [target.'cfg(all(unix, not(target_os = "fuchsia")))'.dependencies] -nix = { workspace=true } +nix = { workspace = true } [[bin]] name = "more" diff --git a/src/uu/mv/Cargo.toml b/src/uu/mv/Cargo.toml index 8747c950caf..2e67ec151a4 100644 --- a/src/uu/mv/Cargo.toml +++ b/src/uu/mv/Cargo.toml @@ -15,10 +15,10 @@ edition = "2021" path = "src/mv.rs" [dependencies] -clap = { workspace=true } -fs_extra = { workspace=true } -indicatif = { workspace=true } -uucore = { workspace=true, features=["fs"] } +clap = { workspace = true } +fs_extra = { workspace = true } +indicatif = { workspace = true } +uucore = { workspace = true, features = ["fs"] } [[bin]] name = "mv" diff --git a/src/uu/nice/Cargo.toml b/src/uu/nice/Cargo.toml index d63f2531263..70d6f0f87c5 100644 --- a/src/uu/nice/Cargo.toml +++ b/src/uu/nice/Cargo.toml @@ -15,10 +15,10 @@ edition = "2021" path = "src/nice.rs" [dependencies] -clap = { workspace=true } -libc = { workspace=true } -nix = { workspace=true } -uucore = { workspace=true } +clap = { workspace = true } +libc = { workspace = true } +nix = { workspace = true } +uucore = { workspace = true } [[bin]] name = "nice" diff --git a/src/uu/nl/Cargo.toml b/src/uu/nl/Cargo.toml index ead669d3d70..020eba82956 100644 --- a/src/uu/nl/Cargo.toml +++ b/src/uu/nl/Cargo.toml @@ -15,9 +15,9 @@ edition = "2021" path = "src/nl.rs" [dependencies] -clap = { workspace=true } -regex = { workspace=true } -uucore = { workspace=true } +clap = { workspace = true } +regex = { workspace = true } +uucore = { workspace = true } [[bin]] name = "nl" diff --git a/src/uu/nohup/Cargo.toml b/src/uu/nohup/Cargo.toml index 40f332c5fea..74bdd89ae7f 100644 --- a/src/uu/nohup/Cargo.toml +++ b/src/uu/nohup/Cargo.toml @@ -15,10 +15,10 @@ edition = "2021" path = "src/nohup.rs" [dependencies] -clap = { workspace=true } -libc = { workspace=true } -is-terminal = { workspace=true } -uucore = { workspace=true, features=["fs"] } +clap = { workspace = true } +libc = { workspace = true } +is-terminal = { workspace = true } +uucore = { workspace = true, features = ["fs"] } [[bin]] name = "nohup" diff --git a/src/uu/nproc/Cargo.toml b/src/uu/nproc/Cargo.toml index ae2e74f068f..239afef5e7e 100644 --- a/src/uu/nproc/Cargo.toml +++ b/src/uu/nproc/Cargo.toml @@ -15,9 +15,9 @@ edition = "2021" path = "src/nproc.rs" [dependencies] -libc = { workspace=true } -clap = { workspace=true } -uucore = { workspace=true, features=["fs"] } +libc = { workspace = true } +clap = { workspace = true } +uucore = { workspace = true, features = ["fs"] } [[bin]] name = "nproc" diff --git a/src/uu/numfmt/Cargo.toml b/src/uu/numfmt/Cargo.toml index 9ba3c007537..e17b4e56eb1 100644 --- a/src/uu/numfmt/Cargo.toml +++ b/src/uu/numfmt/Cargo.toml @@ -15,8 +15,8 @@ edition = "2021" path = "src/numfmt.rs" [dependencies] -clap = { workspace=true } -uucore = { workspace=true } +clap = { workspace = true } +uucore = { workspace = true } [[bin]] name = "numfmt" diff --git a/src/uu/od/Cargo.toml b/src/uu/od/Cargo.toml index e7cc7d34e34..f26006d7e54 100644 --- a/src/uu/od/Cargo.toml +++ b/src/uu/od/Cargo.toml @@ -15,10 +15,10 @@ edition = "2021" path = "src/od.rs" [dependencies] -byteorder = { workspace=true } -clap = { workspace=true } -half = { workspace=true } -uucore = { workspace=true } +byteorder = { workspace = true } +clap = { workspace = true } +half = { workspace = true } +uucore = { workspace = true } [[bin]] name = "od" diff --git a/src/uu/paste/Cargo.toml b/src/uu/paste/Cargo.toml index 836aa05bd22..e9a78d828bc 100644 --- a/src/uu/paste/Cargo.toml +++ b/src/uu/paste/Cargo.toml @@ -15,8 +15,8 @@ edition = "2021" path = "src/paste.rs" [dependencies] -clap = { workspace=true } -uucore = { workspace=true } +clap = { workspace = true } +uucore = { workspace = true } [[bin]] name = "paste" diff --git a/src/uu/pathchk/Cargo.toml b/src/uu/pathchk/Cargo.toml index c37b0b48103..f11d85b5cc4 100644 --- a/src/uu/pathchk/Cargo.toml +++ b/src/uu/pathchk/Cargo.toml @@ -15,9 +15,9 @@ edition = "2021" path = "src/pathchk.rs" [dependencies] -clap = { workspace=true } -libc = { workspace=true } -uucore = { workspace=true } +clap = { workspace = true } +libc = { workspace = true } +uucore = { workspace = true } [[bin]] name = "pathchk" diff --git a/src/uu/pinky/Cargo.toml b/src/uu/pinky/Cargo.toml index efee7c06a51..ee17a46c5bd 100644 --- a/src/uu/pinky/Cargo.toml +++ b/src/uu/pinky/Cargo.toml @@ -15,8 +15,8 @@ edition = "2021" path = "src/pinky.rs" [dependencies] -clap = { workspace=true } -uucore = { workspace=true, features=["utmpx", "entries"] } +clap = { workspace = true } +uucore = { workspace = true, features = ["utmpx", "entries"] } [[bin]] name = "pinky" diff --git a/src/uu/pr/Cargo.toml b/src/uu/pr/Cargo.toml index 888daee9078..bae1b251da3 100644 --- a/src/uu/pr/Cargo.toml +++ b/src/uu/pr/Cargo.toml @@ -15,12 +15,12 @@ edition = "2021" path = "src/pr.rs" [dependencies] -clap = { workspace=true } -uucore = { workspace=true, features=["entries"] } -quick-error = { workspace=true } -itertools = { workspace=true } -regex = { workspace=true } -chrono = { workspace=true } +clap = { workspace = true } +uucore = { workspace = true, features = ["entries"] } +quick-error = { workspace = true } +itertools = { workspace = true } +regex = { workspace = true } +chrono = { workspace = true } [[bin]] name = "pr" diff --git a/src/uu/printenv/Cargo.toml b/src/uu/printenv/Cargo.toml index f3a7f2b4030..59dcee77827 100644 --- a/src/uu/printenv/Cargo.toml +++ b/src/uu/printenv/Cargo.toml @@ -15,8 +15,8 @@ edition = "2021" path = "src/printenv.rs" [dependencies] -clap = { workspace=true } -uucore = { workspace=true } +clap = { workspace = true } +uucore = { workspace = true } [[bin]] name = "printenv" diff --git a/src/uu/printf/Cargo.toml b/src/uu/printf/Cargo.toml index c534ba544c3..51812945f4c 100644 --- a/src/uu/printf/Cargo.toml +++ b/src/uu/printf/Cargo.toml @@ -1,10 +1,7 @@ [package] name = "uu_printf" version = "0.0.19" -authors = [ - "Nathan Ross", - "uutils developers", -] +authors = ["Nathan Ross", "uutils developers"] license = "MIT" description = "printf ~ (uutils) FORMAT and display ARGUMENTS" @@ -18,8 +15,8 @@ edition = "2021" path = "src/printf.rs" [dependencies] -clap = { workspace=true } -uucore = { workspace=true, features=["memo"] } +clap = { workspace = true } +uucore = { workspace = true, features = ["memo"] } [[bin]] name = "printf" diff --git a/src/uu/ptx/Cargo.toml b/src/uu/ptx/Cargo.toml index c3498c25b7f..358c640db1c 100644 --- a/src/uu/ptx/Cargo.toml +++ b/src/uu/ptx/Cargo.toml @@ -15,9 +15,9 @@ edition = "2021" path = "src/ptx.rs" [dependencies] -clap = { workspace=true } -regex = { workspace=true } -uucore = { workspace=true } +clap = { workspace = true } +regex = { workspace = true } +uucore = { workspace = true } [[bin]] name = "ptx" diff --git a/src/uu/pwd/Cargo.toml b/src/uu/pwd/Cargo.toml index fd76eec5bd2..60cb9aae004 100644 --- a/src/uu/pwd/Cargo.toml +++ b/src/uu/pwd/Cargo.toml @@ -15,8 +15,8 @@ edition = "2021" path = "src/pwd.rs" [dependencies] -clap = { workspace=true } -uucore = { workspace=true } +clap = { workspace = true } +uucore = { workspace = true } [[bin]] name = "pwd" diff --git a/src/uu/readlink/Cargo.toml b/src/uu/readlink/Cargo.toml index 718a3812051..4a0ad66e576 100644 --- a/src/uu/readlink/Cargo.toml +++ b/src/uu/readlink/Cargo.toml @@ -15,8 +15,8 @@ edition = "2021" path = "src/readlink.rs" [dependencies] -clap = { workspace=true } -uucore = { workspace=true, features=["fs"] } +clap = { workspace = true } +uucore = { workspace = true, features = ["fs"] } [[bin]] name = "readlink" diff --git a/src/uu/realpath/Cargo.toml b/src/uu/realpath/Cargo.toml index 0ecd971c1c5..9b2b5352c4d 100644 --- a/src/uu/realpath/Cargo.toml +++ b/src/uu/realpath/Cargo.toml @@ -15,8 +15,8 @@ edition = "2021" path = "src/realpath.rs" [dependencies] -clap = { workspace=true } -uucore = { workspace=true, features=["fs"] } +clap = { workspace = true } +uucore = { workspace = true, features = ["fs"] } [[bin]] name = "realpath" diff --git a/src/uu/relpath/Cargo.toml b/src/uu/relpath/Cargo.toml index 96fdca94681..4108d612c01 100644 --- a/src/uu/relpath/Cargo.toml +++ b/src/uu/relpath/Cargo.toml @@ -15,8 +15,8 @@ edition = "2021" path = "src/relpath.rs" [dependencies] -clap = { workspace=true } -uucore = { workspace=true, features=["fs"] } +clap = { workspace = true } +uucore = { workspace = true, features = ["fs"] } [[bin]] name = "relpath" diff --git a/src/uu/rm/Cargo.toml b/src/uu/rm/Cargo.toml index c69bd59642d..ec46031d063 100644 --- a/src/uu/rm/Cargo.toml +++ b/src/uu/rm/Cargo.toml @@ -15,15 +15,15 @@ edition = "2021" path = "src/rm.rs" [dependencies] -clap = { workspace=true } -walkdir = { workspace=true } -uucore = { workspace=true, features=["fs"] } +clap = { workspace = true } +walkdir = { workspace = true } +uucore = { workspace = true, features = ["fs"] } [target.'cfg(unix)'.dependencies] -libc = { workspace=true } +libc = { workspace = true } [target.'cfg(windows)'.dependencies] -windows-sys = { workspace=true, features = ["Win32_Storage_FileSystem"] } +windows-sys = { workspace = true, features = ["Win32_Storage_FileSystem"] } [[bin]] name = "rm" diff --git a/src/uu/rmdir/Cargo.toml b/src/uu/rmdir/Cargo.toml index 2a40ad0581f..6c152a82a18 100644 --- a/src/uu/rmdir/Cargo.toml +++ b/src/uu/rmdir/Cargo.toml @@ -15,9 +15,9 @@ edition = "2021" path = "src/rmdir.rs" [dependencies] -clap = { workspace=true } -uucore = { workspace=true, features=["fs"] } -libc = { workspace=true } +clap = { workspace = true } +uucore = { workspace = true, features = ["fs"] } +libc = { workspace = true } [[bin]] name = "rmdir" diff --git a/src/uu/runcon/Cargo.toml b/src/uu/runcon/Cargo.toml index 0060e497b29..191d9f01374 100644 --- a/src/uu/runcon/Cargo.toml +++ b/src/uu/runcon/Cargo.toml @@ -14,11 +14,11 @@ edition = "2021" path = "src/runcon.rs" [dependencies] -clap = { workspace=true } -uucore = { workspace=true, features=["entries", "fs", "perms"] } -selinux = { workspace=true } -thiserror = { workspace=true } -libc = { workspace=true } +clap = { workspace = true } +uucore = { workspace = true, features = ["entries", "fs", "perms"] } +selinux = { workspace = true } +thiserror = { workspace = true } +libc = { workspace = true } [[bin]] name = "runcon" diff --git a/src/uu/seq/Cargo.toml b/src/uu/seq/Cargo.toml index e996c2b5c56..e327b3eba0c 100644 --- a/src/uu/seq/Cargo.toml +++ b/src/uu/seq/Cargo.toml @@ -16,11 +16,11 @@ edition = "2021" path = "src/seq.rs" [dependencies] -bigdecimal = { workspace=true } -clap = { workspace=true } -num-bigint = { workspace=true } -num-traits = { workspace=true } -uucore = { workspace=true, features=["memo"] } +bigdecimal = { workspace = true } +clap = { workspace = true } +num-bigint = { workspace = true } +num-traits = { workspace = true } +uucore = { workspace = true, features = ["memo"] } [[bin]] name = "seq" diff --git a/src/uu/shred/Cargo.toml b/src/uu/shred/Cargo.toml index 5d52ee58acb..3da23ff2b88 100644 --- a/src/uu/shred/Cargo.toml +++ b/src/uu/shred/Cargo.toml @@ -15,10 +15,10 @@ edition = "2021" path = "src/shred.rs" [dependencies] -clap = { workspace=true } -rand = { workspace=true } -uucore = { workspace=true } -libc = { workspace=true } +clap = { workspace = true } +rand = { workspace = true } +uucore = { workspace = true } +libc = { workspace = true } [[bin]] name = "shred" diff --git a/src/uu/shuf/Cargo.toml b/src/uu/shuf/Cargo.toml index f86a1eac5c5..974791ee1e2 100644 --- a/src/uu/shuf/Cargo.toml +++ b/src/uu/shuf/Cargo.toml @@ -15,11 +15,11 @@ edition = "2021" path = "src/shuf.rs" [dependencies] -clap = { workspace=true } -memchr = { workspace=true } -rand = { workspace=true } -rand_core = { workspace=true } -uucore = { workspace=true } +clap = { workspace = true } +memchr = { workspace = true } +rand = { workspace = true } +rand_core = { workspace = true } +uucore = { workspace = true } [[bin]] name = "shuf" diff --git a/src/uu/sleep/Cargo.toml b/src/uu/sleep/Cargo.toml index ae05bdf0e2d..2cd38988e17 100644 --- a/src/uu/sleep/Cargo.toml +++ b/src/uu/sleep/Cargo.toml @@ -15,9 +15,9 @@ edition = "2021" path = "src/sleep.rs" [dependencies] -clap = { workspace=true } -fundu = { workspace=true } -uucore = { workspace=true } +clap = { workspace = true } +fundu = { workspace = true } +uucore = { workspace = true } [[bin]] name = "sleep" diff --git a/src/uu/sort/Cargo.toml b/src/uu/sort/Cargo.toml index 7889ab009a0..7540522ed29 100644 --- a/src/uu/sort/Cargo.toml +++ b/src/uu/sort/Cargo.toml @@ -15,19 +15,19 @@ edition = "2021" path = "src/sort.rs" [dependencies] -binary-heap-plus = { workspace=true } -clap = { workspace=true } -compare = { workspace=true } -ctrlc = { workspace=true } -fnv = { workspace=true } -itertools = { workspace=true } -memchr = { workspace=true } -ouroboros = { workspace=true } -rand = { workspace=true } -rayon = { workspace=true } -tempfile = { workspace=true } -unicode-width = { workspace=true } -uucore = { workspace=true, features=["fs"] } +binary-heap-plus = { workspace = true } +clap = { workspace = true } +compare = { workspace = true } +ctrlc = { workspace = true } +fnv = { workspace = true } +itertools = { workspace = true } +memchr = { workspace = true } +ouroboros = { workspace = true } +rand = { workspace = true } +rayon = { workspace = true } +tempfile = { workspace = true } +unicode-width = { workspace = true } +uucore = { workspace = true, features = ["fs"] } [[bin]] name = "sort" diff --git a/src/uu/split/Cargo.toml b/src/uu/split/Cargo.toml index b9649ad5f05..32cfd6fda2c 100644 --- a/src/uu/split/Cargo.toml +++ b/src/uu/split/Cargo.toml @@ -15,9 +15,9 @@ edition = "2021" path = "src/split.rs" [dependencies] -clap = { workspace=true } -memchr = { workspace=true } -uucore = { workspace=true, features=["fs"] } +clap = { workspace = true } +memchr = { workspace = true } +uucore = { workspace = true, features = ["fs"] } [[bin]] name = "split" diff --git a/src/uu/stat/Cargo.toml b/src/uu/stat/Cargo.toml index 3176347041f..3f165c35735 100644 --- a/src/uu/stat/Cargo.toml +++ b/src/uu/stat/Cargo.toml @@ -15,8 +15,8 @@ edition = "2021" path = "src/stat.rs" [dependencies] -clap = { workspace=true } -uucore = { workspace=true, features=["entries", "libc", "fs", "fsext"] } +clap = { workspace = true } +uucore = { workspace = true, features = ["entries", "libc", "fs", "fsext"] } [[bin]] name = "stat" diff --git a/src/uu/stdbuf/Cargo.toml b/src/uu/stdbuf/Cargo.toml index 06bd0fa51bc..bce2f8dba41 100644 --- a/src/uu/stdbuf/Cargo.toml +++ b/src/uu/stdbuf/Cargo.toml @@ -15,12 +15,12 @@ edition = "2021" path = "src/stdbuf.rs" [dependencies] -clap = { workspace=true } -tempfile = { workspace=true } -uucore = { workspace=true } +clap = { workspace = true } +tempfile = { workspace = true } +uucore = { workspace = true } [build-dependencies] -libstdbuf = { version="0.0.19", package="uu_stdbuf_libstdbuf", path="src/libstdbuf" } +libstdbuf = { version = "0.0.19", package = "uu_stdbuf_libstdbuf", path = "src/libstdbuf" } [[bin]] name = "stdbuf" diff --git a/src/uu/stdbuf/src/libstdbuf/Cargo.toml b/src/uu/stdbuf/src/libstdbuf/Cargo.toml index abd2aaa4e12..b3f18611899 100644 --- a/src/uu/stdbuf/src/libstdbuf/Cargo.toml +++ b/src/uu/stdbuf/src/libstdbuf/Cargo.toml @@ -14,12 +14,15 @@ edition = "2021" [lib] name = "libstdbuf" path = "src/libstdbuf.rs" -crate-type = ["cdylib", "rlib"] # XXX: note: the rlib is just to prevent Cargo from spitting out a warning +crate-type = [ + "cdylib", + "rlib", +] # XXX: note: the rlib is just to prevent Cargo from spitting out a warning [dependencies] cpp = "0.5" -libc = { workspace=true } -uucore = { version=">=0.0.19", package="uucore", path="../../../../uucore" } +libc = { workspace = true } +uucore = { version = ">=0.0.19", package = "uucore", path = "../../../../uucore" } [build-dependencies] cpp_build = "0.5" diff --git a/src/uu/stty/Cargo.toml b/src/uu/stty/Cargo.toml index ec715314d32..220651003ab 100644 --- a/src/uu/stty/Cargo.toml +++ b/src/uu/stty/Cargo.toml @@ -15,9 +15,9 @@ edition = "2021" path = "src/stty.rs" [dependencies] -clap = { workspace=true } -uucore = { workspace=true } -nix = { workspace=true, features = ["term", "ioctl"] } +clap = { workspace = true } +uucore = { workspace = true } +nix = { workspace = true, features = ["term", "ioctl"] } [[bin]] name = "stty" diff --git a/src/uu/sum/Cargo.toml b/src/uu/sum/Cargo.toml index 806c2171d3a..37b4d21e0a0 100644 --- a/src/uu/sum/Cargo.toml +++ b/src/uu/sum/Cargo.toml @@ -15,8 +15,8 @@ edition = "2021" path = "src/sum.rs" [dependencies] -clap = { workspace=true } -uucore = { workspace=true } +clap = { workspace = true } +uucore = { workspace = true } [[bin]] name = "sum" diff --git a/src/uu/sync/Cargo.toml b/src/uu/sync/Cargo.toml index c6062b7c1f3..36d110046a8 100644 --- a/src/uu/sync/Cargo.toml +++ b/src/uu/sync/Cargo.toml @@ -15,15 +15,19 @@ edition = "2021" path = "src/sync.rs" [dependencies] -clap = { workspace=true } -libc = { workspace=true } -uucore = { workspace=true, features=["wide"] } +clap = { workspace = true } +libc = { workspace = true } +uucore = { workspace = true, features = ["wide"] } [target.'cfg(any(target_os = "linux", target_os = "android"))'.dependencies] -nix = { workspace=true } +nix = { workspace = true } [target.'cfg(target_os = "windows")'.dependencies] -windows-sys = { workspace=true, features = ["Win32_Storage_FileSystem", "Win32_System_WindowsProgramming", "Win32_Foundation"] } +windows-sys = { workspace = true, features = [ + "Win32_Storage_FileSystem", + "Win32_System_WindowsProgramming", + "Win32_Foundation", +] } [[bin]] name = "sync" diff --git a/src/uu/tac/Cargo.toml b/src/uu/tac/Cargo.toml index ca68be99dc6..a1c2e076a9a 100644 --- a/src/uu/tac/Cargo.toml +++ b/src/uu/tac/Cargo.toml @@ -17,11 +17,11 @@ edition = "2021" path = "src/tac.rs" [dependencies] -memchr = { workspace=true } +memchr = { workspace = true } memmap2 = "0.6" -regex = { workspace=true } -clap = { workspace=true } -uucore = { workspace=true } +regex = { workspace = true } +clap = { workspace = true } +uucore = { workspace = true } [[bin]] name = "tac" diff --git a/src/uu/tail/Cargo.toml b/src/uu/tail/Cargo.toml index e71c988aa71..81213b58853 100644 --- a/src/uu/tail/Cargo.toml +++ b/src/uu/tail/Cargo.toml @@ -16,21 +16,24 @@ edition = "2021" path = "src/tail.rs" [dependencies] -clap = { workspace=true } -libc = { workspace=true } -memchr = { workspace=true } -notify = { workspace=true } -uucore = { workspace=true } -same-file = { workspace=true } -is-terminal = { workspace=true } -fundu = { workspace=true } +clap = { workspace = true } +libc = { workspace = true } +memchr = { workspace = true } +notify = { workspace = true } +uucore = { workspace = true } +same-file = { workspace = true } +is-terminal = { workspace = true } +fundu = { workspace = true } [target.'cfg(windows)'.dependencies] -windows-sys = { workspace=true, features = ["Win32_System_Threading", "Win32_Foundation"] } -winapi-util = { workspace=true } +windows-sys = { workspace = true, features = [ + "Win32_System_Threading", + "Win32_Foundation", +] } +winapi-util = { workspace = true } [dev-dependencies] -rstest = { workspace=true } +rstest = { workspace = true } [[bin]] name = "tail" diff --git a/src/uu/tee/Cargo.toml b/src/uu/tee/Cargo.toml index ee4bedec807..21d64c0c2e0 100644 --- a/src/uu/tee/Cargo.toml +++ b/src/uu/tee/Cargo.toml @@ -15,9 +15,9 @@ edition = "2021" path = "src/tee.rs" [dependencies] -clap = { workspace=true } -libc = { workspace=true } -uucore = { workspace=true, features=["libc", "signals"] } +clap = { workspace = true } +libc = { workspace = true } +uucore = { workspace = true, features = ["libc", "signals"] } [[bin]] name = "tee" diff --git a/src/uu/test/Cargo.toml b/src/uu/test/Cargo.toml index 794aa537701..3c2f2740199 100644 --- a/src/uu/test/Cargo.toml +++ b/src/uu/test/Cargo.toml @@ -15,12 +15,12 @@ edition = "2021" path = "src/test.rs" [dependencies] -clap = { workspace=true } -libc = { workspace=true } -uucore = { workspace=true } +clap = { workspace = true } +libc = { workspace = true } +uucore = { workspace = true } [target.'cfg(target_os = "redox")'.dependencies] -redox_syscall = { workspace=true } +redox_syscall = { workspace = true } [[bin]] name = "test" diff --git a/src/uu/timeout/Cargo.toml b/src/uu/timeout/Cargo.toml index b4b24db1267..43cadf3e5d8 100644 --- a/src/uu/timeout/Cargo.toml +++ b/src/uu/timeout/Cargo.toml @@ -15,10 +15,10 @@ edition = "2021" path = "src/timeout.rs" [dependencies] -clap = { workspace=true } -libc = { workspace=true } -nix = { workspace=true, features = ["signal"] } -uucore = { workspace=true, features=["process", "signals"] } +clap = { workspace = true } +libc = { workspace = true } +nix = { workspace = true, features = ["signal"] } +uucore = { workspace = true, features = ["process", "signals"] } [[bin]] name = "timeout" diff --git a/src/uu/touch/Cargo.toml b/src/uu/touch/Cargo.toml index 80840525c01..f90725197b8 100644 --- a/src/uu/touch/Cargo.toml +++ b/src/uu/touch/Cargo.toml @@ -16,15 +16,23 @@ edition = "2021" path = "src/touch.rs" [dependencies] -filetime = { workspace=true } -clap = { workspace=true } +filetime = { workspace = true } +clap = { workspace = true } # TODO: use workspace dependency (0.3) when switching from time to chrono humantime_to_duration = "0.2.1" -time = { workspace=true, features = ["parsing", "formatting", "local-offset", "macros"] } -uucore = { workspace=true, features=["libc"] } +time = { workspace = true, features = [ + "parsing", + "formatting", + "local-offset", + "macros", +] } +uucore = { workspace = true, features = ["libc"] } [target.'cfg(target_os = "windows")'.dependencies] -windows-sys = { workspace=true, features = ["Win32_Storage_FileSystem", "Win32_Foundation"] } +windows-sys = { workspace = true, features = [ + "Win32_Storage_FileSystem", + "Win32_Foundation", +] } [[bin]] name = "touch" diff --git a/src/uu/tr/Cargo.toml b/src/uu/tr/Cargo.toml index 4869941e99f..e3eba0a1021 100644 --- a/src/uu/tr/Cargo.toml +++ b/src/uu/tr/Cargo.toml @@ -15,9 +15,9 @@ edition = "2021" path = "src/tr.rs" [dependencies] -nom = { workspace=true } -clap = { workspace=true } -uucore = { workspace=true } +nom = { workspace = true } +clap = { workspace = true } +uucore = { workspace = true } [[bin]] name = "tr" diff --git a/src/uu/true/Cargo.toml b/src/uu/true/Cargo.toml index 3171845de19..f7f7e1a6ae5 100644 --- a/src/uu/true/Cargo.toml +++ b/src/uu/true/Cargo.toml @@ -15,8 +15,8 @@ edition = "2021" path = "src/true.rs" [dependencies] -clap = { workspace=true } -uucore = { workspace=true } +clap = { workspace = true } +uucore = { workspace = true } [[bin]] name = "true" diff --git a/src/uu/truncate/Cargo.toml b/src/uu/truncate/Cargo.toml index 54578d038cf..bf36e8257c2 100644 --- a/src/uu/truncate/Cargo.toml +++ b/src/uu/truncate/Cargo.toml @@ -15,8 +15,8 @@ edition = "2021" path = "src/truncate.rs" [dependencies] -clap = { workspace=true } -uucore = { workspace=true } +clap = { workspace = true } +uucore = { workspace = true } [[bin]] name = "truncate" diff --git a/src/uu/tsort/Cargo.toml b/src/uu/tsort/Cargo.toml index 46ee8a47e71..b7df32a1dd5 100644 --- a/src/uu/tsort/Cargo.toml +++ b/src/uu/tsort/Cargo.toml @@ -15,8 +15,8 @@ edition = "2021" path = "src/tsort.rs" [dependencies] -clap = { workspace=true } -uucore = { workspace=true } +clap = { workspace = true } +uucore = { workspace = true } [[bin]] name = "tsort" diff --git a/src/uu/tty/Cargo.toml b/src/uu/tty/Cargo.toml index 4e32f387301..d3d16d22a04 100644 --- a/src/uu/tty/Cargo.toml +++ b/src/uu/tty/Cargo.toml @@ -15,10 +15,10 @@ edition = "2021" path = "src/tty.rs" [dependencies] -clap = { workspace=true } -nix = { workspace=true, features=["term"] } -is-terminal = { workspace=true } -uucore = { workspace=true, features=["fs"] } +clap = { workspace = true } +nix = { workspace = true, features = ["term"] } +is-terminal = { workspace = true } +uucore = { workspace = true, features = ["fs"] } [[bin]] name = "tty" diff --git a/src/uu/uname/Cargo.toml b/src/uu/uname/Cargo.toml index 5c02c5e2ef7..7b5f455a36f 100644 --- a/src/uu/uname/Cargo.toml +++ b/src/uu/uname/Cargo.toml @@ -15,9 +15,9 @@ edition = "2021" path = "src/uname.rs" [dependencies] -platform-info = { workspace=true } -clap = { workspace=true } -uucore = { workspace=true } +platform-info = { workspace = true } +clap = { workspace = true } +uucore = { workspace = true } [[bin]] name = "uname" diff --git a/src/uu/unexpand/Cargo.toml b/src/uu/unexpand/Cargo.toml index 537750d3d4a..b3d5e1b40b4 100644 --- a/src/uu/unexpand/Cargo.toml +++ b/src/uu/unexpand/Cargo.toml @@ -15,9 +15,9 @@ edition = "2021" path = "src/unexpand.rs" [dependencies] -clap = { workspace=true } -unicode-width = { workspace=true } -uucore = { workspace=true } +clap = { workspace = true } +unicode-width = { workspace = true } +uucore = { workspace = true } [[bin]] name = "unexpand" diff --git a/src/uu/uniq/Cargo.toml b/src/uu/uniq/Cargo.toml index c1343ab011a..dec4bf2a49d 100644 --- a/src/uu/uniq/Cargo.toml +++ b/src/uu/uniq/Cargo.toml @@ -15,8 +15,8 @@ edition = "2021" path = "src/uniq.rs" [dependencies] -clap = { workspace=true } -uucore = { workspace=true } +clap = { workspace = true } +uucore = { workspace = true } [[bin]] name = "uniq" diff --git a/src/uu/unlink/Cargo.toml b/src/uu/unlink/Cargo.toml index cc30f7dbd5a..10ec571d19b 100644 --- a/src/uu/unlink/Cargo.toml +++ b/src/uu/unlink/Cargo.toml @@ -15,8 +15,8 @@ edition = "2021" path = "src/unlink.rs" [dependencies] -clap = { workspace=true } -uucore = { workspace=true } +clap = { workspace = true } +uucore = { workspace = true } [[bin]] name = "unlink" diff --git a/src/uu/uptime/Cargo.toml b/src/uu/uptime/Cargo.toml index ab38951c5e1..b92254cda2a 100644 --- a/src/uu/uptime/Cargo.toml +++ b/src/uu/uptime/Cargo.toml @@ -15,9 +15,9 @@ edition = "2021" path = "src/uptime.rs" [dependencies] -chrono = { workspace=true } -clap = { workspace=true } -uucore = { workspace=true, features=["libc", "utmpx"] } +chrono = { workspace = true } +clap = { workspace = true } +uucore = { workspace = true, features = ["libc", "utmpx"] } [[bin]] name = "uptime" diff --git a/src/uu/users/Cargo.toml b/src/uu/users/Cargo.toml index ec32f3e8aad..81af586291a 100644 --- a/src/uu/users/Cargo.toml +++ b/src/uu/users/Cargo.toml @@ -15,8 +15,8 @@ edition = "2021" path = "src/users.rs" [dependencies] -clap = { workspace=true } -uucore = { workspace=true, features=["utmpx"] } +clap = { workspace = true } +uucore = { workspace = true, features = ["utmpx"] } [[bin]] name = "users" diff --git a/src/uu/vdir/Cargo.toml b/src/uu/vdir/Cargo.toml index 4d624897998..68d0c34aebc 100644 --- a/src/uu/vdir/Cargo.toml +++ b/src/uu/vdir/Cargo.toml @@ -15,9 +15,9 @@ edition = "2021" path = "src/vdir.rs" [dependencies] -clap = { workspace=true, features = ["env"] } -uucore = { workspace=true, features=["entries", "fs"] } -uu_ls = { workspace=true } +clap = { workspace = true, features = ["env"] } +uucore = { workspace = true, features = ["entries", "fs"] } +uu_ls = { workspace = true } [[bin]] name = "vdir" diff --git a/src/uu/wc/Cargo.toml b/src/uu/wc/Cargo.toml index b781eaed61e..363483bf8af 100644 --- a/src/uu/wc/Cargo.toml +++ b/src/uu/wc/Cargo.toml @@ -15,15 +15,15 @@ edition = "2021" path = "src/wc.rs" [dependencies] -clap = { workspace=true } -uucore = { workspace=true, features=["pipes"] } -bytecount = { workspace=true } -thiserror = { workspace=true } -unicode-width = { workspace=true } +clap = { workspace = true } +uucore = { workspace = true, features = ["pipes"] } +bytecount = { workspace = true } +thiserror = { workspace = true } +unicode-width = { workspace = true } [target.'cfg(unix)'.dependencies] -nix = { workspace=true } -libc = { workspace=true } +nix = { workspace = true } +libc = { workspace = true } [[bin]] name = "wc" diff --git a/src/uu/who/Cargo.toml b/src/uu/who/Cargo.toml index cae50b9a6e6..bfbd7909d81 100644 --- a/src/uu/who/Cargo.toml +++ b/src/uu/who/Cargo.toml @@ -15,8 +15,8 @@ edition = "2021" path = "src/who.rs" [dependencies] -clap = { workspace=true } -uucore = { workspace=true, features=["utmpx"] } +clap = { workspace = true } +uucore = { workspace = true, features = ["utmpx"] } [[bin]] name = "who" diff --git a/src/uu/whoami/Cargo.toml b/src/uu/whoami/Cargo.toml index 3114f721a58..fe06a0a7e62 100644 --- a/src/uu/whoami/Cargo.toml +++ b/src/uu/whoami/Cargo.toml @@ -15,14 +15,18 @@ edition = "2021" path = "src/whoami.rs" [dependencies] -clap = { workspace=true } -uucore = { workspace=true, features=["entries"] } +clap = { workspace = true } +uucore = { workspace = true, features = ["entries"] } [target.'cfg(target_os = "windows")'.dependencies] -windows-sys = { workspace=true, features = ["Win32_NetworkManagement_NetManagement", "Win32_System_WindowsProgramming", "Win32_Foundation"] } +windows-sys = { workspace = true, features = [ + "Win32_NetworkManagement_NetManagement", + "Win32_System_WindowsProgramming", + "Win32_Foundation", +] } [target.'cfg(unix)'.dependencies] -libc = { workspace=true } +libc = { workspace = true } [[bin]] name = "whoami" diff --git a/src/uu/yes/Cargo.toml b/src/uu/yes/Cargo.toml index 40674f05a28..0e2b934f3a3 100644 --- a/src/uu/yes/Cargo.toml +++ b/src/uu/yes/Cargo.toml @@ -15,15 +15,15 @@ edition = "2021" path = "src/yes.rs" [dependencies] -clap = { workspace=true } -itertools = { workspace=true } +clap = { workspace = true } +itertools = { workspace = true } [target.'cfg(unix)'.dependencies] -uucore = { workspace=true, features=["pipes", "signals"] } -nix = { workspace=true } +uucore = { workspace = true, features = ["pipes", "signals"] } +nix = { workspace = true } [target.'cfg(not(unix))'.dependencies] -uucore = { workspace=true, features=["pipes"] } +uucore = { workspace = true, features = ["pipes"] } [[bin]] name = "yes" diff --git a/src/uucore/Cargo.toml b/src/uucore/Cargo.toml index d16c3c79e31..7fa4aa3445a 100644 --- a/src/uucore/Cargo.toml +++ b/src/uucore/Cargo.toml @@ -15,50 +15,58 @@ categories = ["command-line-utilities"] edition = "2021" [lib] -path="src/lib/lib.rs" +path = "src/lib/lib.rs" [dependencies] -clap = { workspace=true } -uucore_procs = { workspace=true } -dns-lookup = { version="2.0.2", optional=true } +clap = { workspace = true } +uucore_procs = { workspace = true } +dns-lookup = { version = "2.0.2", optional = true } dunce = "1.0.4" wild = "2.1" glob = "0.3.1" # * optional -itertools = { version="0.10.5", optional=true } -thiserror = { workspace=true, optional=true } -time = { workspace=true, optional=true, features = ["formatting", "local-offset", "macros"] } +itertools = { version = "0.10.5", optional = true } +thiserror = { workspace = true, optional = true } +time = { workspace = true, optional = true, features = [ + "formatting", + "local-offset", + "macros", +] } # * "problem" dependencies (pinned) -data-encoding = { version="2.4", optional=true } -data-encoding-macro = { version="0.1.13", optional=true } -z85 = { version="3.0.5", optional=true } -libc = { version="0.2.146", optional=true } -once_cell = { workspace=true } +data-encoding = { version = "2.4", optional = true } +data-encoding-macro = { version = "0.1.13", optional = true } +z85 = { version = "3.0.5", optional = true } +libc = { version = "0.2.146", 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 } +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 } [target.'cfg(unix)'.dependencies] -walkdir = { workspace=true, optional=true } -nix = { workspace=true, features = ["fs", "uio", "zerocopy", "signal"] } +walkdir = { workspace = true, optional = true } +nix = { workspace = true, features = ["fs", "uio", "zerocopy", "signal"] } [dev-dependencies] -clap = { workspace=true } -once_cell = { workspace=true } -tempfile = { workspace=true } +clap = { workspace = true } +once_cell = { workspace = true } +tempfile = { workspace = true } [target.'cfg(target_os = "windows")'.dependencies] -winapi-util = { version= "0.1.5", optional=true } -windows-sys = { version = "0.48.0", optional = true, default-features = false, features = ["Win32_Storage_FileSystem", "Win32_Foundation", "Win32_System_WindowsProgramming"] } +winapi-util = { version = "0.1.5", optional = true } +windows-sys = { version = "0.48.0", optional = true, default-features = false, features = [ + "Win32_Storage_FileSystem", + "Win32_Foundation", + "Win32_System_WindowsProgramming", +] } [features] default = [] diff --git a/src/uucore_procs/Cargo.toml b/src/uucore_procs/Cargo.toml index eedc9001c0f..a83baf1d42d 100644 --- a/src/uucore_procs/Cargo.toml +++ b/src/uucore_procs/Cargo.toml @@ -19,4 +19,4 @@ proc-macro = true [dependencies] proc-macro2 = "1.0" quote = "1.0" -uuhelp_parser = { path="../uuhelp_parser", version="0.0.19" } +uuhelp_parser = { path = "../uuhelp_parser", version = "0.0.19" }