Merge pull request #4344 from tertsdiepraam/msrv-1.64

MSRV 1.64 & Workspace inheritance for dependencies
This commit is contained in:
Sylvestre Ledru 2023-02-12 08:27:21 +01:00 committed by GitHub
commit 816e0d51e3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
114 changed files with 482 additions and 422 deletions

View file

@ -1 +1 @@
msrv = "1.60.0"
msrv = "1.64.0"

View file

@ -11,7 +11,7 @@ env:
PROJECT_NAME: coreutils
PROJECT_DESC: "Core universal (cross-platform) utilities"
PROJECT_AUTH: "uutils"
RUST_MIN_SRV: "1.60.0" ## MSRV v1.60.0
RUST_MIN_SRV: "1.64.0"
# * style job configuration
STYLE_FAIL_ON_FAULT: true ## (bool) fail the build if a style job contains a fault (error or warning); may be overridden on a per-job basis

9
Cargo.lock generated
View file

@ -1332,8 +1332,6 @@ dependencies = [
"bitflags",
"cfg-if",
"libc",
"memoffset",
"pin-utils",
"static_assertions",
]
@ -1827,12 +1825,6 @@ dependencies = [
"winapi",
]
[[package]]
name = "retain_mut"
version = "0.1.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8c31b5c4033f8fdde8700e4657be2c497e7288f01515be52168c631e2e4d4086"
[[package]]
name = "rlimit"
version = "0.8.3"
@ -3118,7 +3110,6 @@ version = "0.0.17"
dependencies = [
"clap",
"libc",
"retain_mut",
"uucore",
]

View file

@ -1,7 +1,7 @@
# coreutils (uutils)
# * see the repository LICENSE, README, and CONTRIBUTING files for more information
# spell-checker:ignore (libs) libselinux gethostid procfs
# spell-checker:ignore (libs) libselinux gethostid procfs bigdecimal kqueue
[package]
name = "coreutils"
@ -16,7 +16,7 @@ repository = "https://github.com/uutils/coreutils"
readme = "README.md"
keywords = ["coreutils", "uutils", "cross-platform", "cli", "utility"]
categories = ["command-line-utilities"]
rust-version = "1.60.0"
rust-version = "1.64.0"
edition = "2021"
build = "build.rs"
@ -262,17 +262,90 @@ feat_os_windows_legacy = [
# * 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" ]
[workspace]
[dependencies]
[workspace.dependencies]
atty = "0.2"
bigdecimal = "0.3"
binary-heap-plus = "0.5.0"
bstr = "1.0"
bytecount = "0.6.3"
byteorder = "1.3.2"
chrono = { version="^0.4.23", default-features=false, features=["std", "alloc", "clock"]}
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
clap_complete = "4.0"
compare = "0.1.0"
coz = { version = "0.1.3" }
crossterm = ">=0.19"
ctrlc = { version = "3.0", features = ["termination"] }
exacl = "0.9.0"
file_diff = "1.0.0"
filetime = "0.2"
fnv = "1.0.7"
fs_extra = "1.1.0"
fts-sys = "0.2"
gcd = "2.2"
glob = "0.3.0"
half = "2.1"
indicatif = "0.17"
itertools = "0.10.0"
libc = "0.2.139"
lscolors = { version = "0.13.0", default-features=false, features = ["nu-ansi-term"] }
memchr = "2"
nix = { version="0.26", default-features=false }
nom = "7.1.1"
notify = { version = "=5.0.0", features=["macos_kqueue"]}
num_cpus = "1.14"
num-bigint = "0.4.0"
num-traits = "0.2.15"
number_prefix = "0.4"
once_cell = "1.13.1"
onig = { version = "~6.4", default-features = false }
ouroboros = "0.15.5"
phf = "0.11.1"
selinux = { version="0.3", optional = true }
phf_codegen = "0.11.1"
platform-info = "1.0.2"
quick-error = "2.0.1"
rand = { version = "0.8", features = ["small_rng"] }
rand_core = "0.6"
rayon = "1.5"
redox_syscall = "0.2"
regex = "1.7.1"
rust-ini = "0.18.0"
same-file = "1.0.6"
selinux = "0.3"
signal-hook = "0.3.14"
smallvec = { version = "1.10", features = ["union"] }
strum = "0.24.1"
strum_macros = "0.24.2"
tempfile = "3.3.0"
term_grid = "0.1.5"
terminal_size = "0.2.2"
textwrap = { version="0.16.0", features=["terminal_size"] }
thiserror = "1.0"
time = { version="0.3" }
unicode-segmentation = "1.9.0"
unicode-width = "0.1.8"
utf-8 = "0.7.6"
walkdir = "2.2"
winapi-util = "0.1.5"
windows-sys = { version="0.42.0", default-features=false }
xattr = "0.2.3"
zip = { version = "0.6.3", default_features=false, features=["deflate"] }
uucore = { version=">=0.0.17", package="uucore", path="src/uucore" }
zip = { version = "0.6.3", optional=true, default_features=false, features=["deflate"] }
uucore_procs = { version=">=0.0.17", package="uucore_procs", path="src/uucore_procs" }
uu_ls = { version=">=0.0.17", path="src/uu/ls" }
uu_base32 = { version=">=0.0.17", path="src/uu/base32"}
[dependencies]
clap = { workspace=true }
once_cell = { workspace=true }
uucore = { workspace=true }
clap_complete = { workspace=true }
phf = { workspace=true }
selinux = { workspace=true, optional = true }
textwrap = { workspace=true }
zip = { workspace=true, optional = true }
# * uutils
uu_test = { optional=true, version="0.0.17", package="uu_test", path="src/uu/test" }
#
@ -388,21 +461,21 @@ yes = { optional=true, version="0.0.17", 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 = { version="^0.4.23", default-features=false, features=["std", "alloc", "clock"]}
chrono = { workspace=true }
conv = "0.3"
filetime = "0.2"
glob = "0.3.0"
libc = "0.2"
filetime = { workspace=true }
glob = { workspace=true }
libc = { workspace=true }
pretty_assertions = "1"
rand = "0.8"
regex = "1.7"
rand = { workspace=true }
regex = { workspace=true }
sha1 = { version="0.10", features=["std"] }
tempfile = "3"
time = {version="0.3", features=["local-offset"]}
tempfile = { workspace=true }
time = { workspace=true, features=["local-offset"] }
unindent = "0.1"
uucore = { version=">=0.0.17", package="uucore", path="src/uucore", features=["entries", "process", "signals"] }
walkdir = "2.2"
atty = "0.2"
uucore = { workspace=true, features=["entries", "process", "signals"] }
walkdir = { workspace=true }
atty = { workspace=true }
hex-literal = "0.3.1"
rstest = "0.16.0"
@ -411,12 +484,12 @@ procfs = { version = "0.14", default-features = false }
rlimit = "0.8.3"
[target.'cfg(unix)'.dev-dependencies]
nix = { version = "0.26", default-features = false, features = ["process", "signal", "user"] }
nix = { workspace=true, features=["process", "signal", "user"] }
rust-users = { version="0.11", package="users" }
rand_pcg = "0.3"
[build-dependencies]
phf_codegen = "0.11.1"
phf_codegen = { workspace=true }
[[bin]]
name = "coreutils"

View file

@ -7,7 +7,7 @@
[![dependency status](https://deps.rs/repo/github/uutils/coreutils/status.svg)](https://deps.rs/repo/github/uutils/coreutils)
[![CodeCov](https://codecov.io/gh/uutils/coreutils/branch/master/graph/badge.svg)](https://codecov.io/gh/uutils/coreutils)
![MSRV](https://img.shields.io/badge/MSRV-1.60.0-brightgreen)
![MSRV](https://img.shields.io/badge/MSRV-1.64.0-brightgreen)
-----------------------------------------------
@ -52,7 +52,7 @@ Both can also be generated locally, the instructions for that can be found in th
### Rust Version
uutils follows Rust's release channels and is tested against stable, beta and nightly.
The current Minimum Supported Rust Version (MSRV) is `1.60.0`.
The current Minimum Supported Rust Version (MSRV) is `1.64.0`.
## Building

View file

@ -15,9 +15,9 @@ edition = "2021"
path = "src/arch.rs"
[dependencies]
platform-info = "1.0.2"
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
uucore = { version=">=0.0.17", package="uucore", path="../../uucore" }
platform-info = { workspace=true }
clap = { workspace=true }
uucore = { workspace=true }
[[bin]]
name = "arch"

View file

@ -15,8 +15,8 @@ edition = "2021"
path = "src/base32.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
uucore = { version=">=0.0.17", package="uucore", path="../../uucore", features = ["encoding"] }
clap = { workspace=true }
uucore = { workspace=true, features = ["encoding"] }
[[bin]]
name = "base32"

View file

@ -15,8 +15,8 @@ edition = "2021"
path = "src/base64.rs"
[dependencies]
uucore = { version=">=0.0.17", package="uucore", path="../../uucore", features = ["encoding"] }
uu_base32 = { version=">=0.0.17", package="uu_base32", path="../base32"}
uucore = { workspace=true, features = ["encoding"] }
uu_base32 = { workspace=true }
[[bin]]
name = "base64"

View file

@ -15,8 +15,8 @@ edition = "2021"
path = "src/basename.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
uucore = { version=">=0.0.17", package="uucore", path="../../uucore" }
clap = { workspace=true }
uucore = { workspace=true }
[[bin]]
name = "basename"

View file

@ -15,9 +15,9 @@ edition = "2021"
path = "src/basenc.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
uucore = { version=">=0.0.17", package="uucore", path="../../uucore", features = ["encoding"] }
uu_base32 = { version=">=0.0.17", package="uu_base32", path="../base32"}
clap = { workspace=true }
uucore = { workspace=true, features = ["encoding"] }
uu_base32 = { workspace=true }
[[bin]]
name = "basenc"

View file

@ -15,13 +15,13 @@ edition = "2021"
path = "src/cat.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
thiserror = "1.0"
atty = "0.2"
uucore = { version=">=0.0.17", package="uucore", path="../../uucore", features=["fs", "pipes"] }
clap = { workspace=true }
thiserror = { workspace = true }
atty = { workspace=true }
uucore = { workspace=true, features=["fs", "pipes"] }
[target.'cfg(unix)'.dependencies]
nix = { version = "0.26", default-features = false }
nix = { workspace=true }
[[bin]]
name = "cat"

View file

@ -14,12 +14,12 @@ edition = "2021"
path = "src/chcon.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
uucore = { version = ">=0.0.9", package="uucore", path="../../uucore", features=["entries", "fs", "perms"] }
selinux = { version = "0.3" }
fts-sys = { version = "0.2" }
thiserror = { version = "1.0" }
libc = { version = "0.2" }
clap = { workspace=true }
uucore = { workspace=true, features=["entries", "fs", "perms"] }
selinux = { workspace=true }
thiserror = { workspace = true }
libc = { workspace=true }
fts-sys = { workspace=true }
[[bin]]
name = "chcon"

View file

@ -15,8 +15,8 @@ edition = "2021"
path = "src/chgrp.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
uucore = { version=">=0.0.17", package="uucore", path="../../uucore", features=["entries", "fs", "perms"] }
clap = { workspace=true }
uucore = { workspace=true, features=["entries", "fs", "perms"] }
[[bin]]
name = "chgrp"

View file

@ -15,9 +15,9 @@ edition = "2021"
path = "src/chmod.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
libc = "0.2.137"
uucore = { version=">=0.0.17", package="uucore", path="../../uucore", features=["fs", "mode"] }
clap = { workspace=true }
libc = { workspace=true }
uucore = { workspace=true, features=["fs", "mode"] }
[[bin]]
name = "chmod"

View file

@ -15,8 +15,8 @@ edition = "2021"
path = "src/chown.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
uucore = { version=">=0.0.17", package="uucore", path="../../uucore", features=["entries", "fs", "perms"] }
clap = { workspace=true }
uucore = { workspace=true, features=["entries", "fs", "perms"] }
[[bin]]
name = "chown"

View file

@ -15,8 +15,8 @@ edition = "2021"
path = "src/chroot.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
uucore = { version=">=0.0.17", package="uucore", path="../../uucore", features=["entries", "fs"] }
clap = { workspace=true }
uucore = { workspace=true, features=["entries", "fs"] }
[[bin]]
name = "chroot"

View file

@ -15,8 +15,8 @@ edition = "2021"
path = "src/cksum.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
uucore = { version=">=0.0.17", package="uucore", path="../../uucore" }
clap = { workspace=true }
uucore = { workspace=true }
[[bin]]
name = "cksum"

View file

@ -15,8 +15,8 @@ edition = "2021"
path = "src/comm.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
uucore = { version=">=0.0.17", package="uucore", path="../../uucore" }
clap = { workspace=true }
uucore = { workspace=true }
[[bin]]
name = "comm"

View file

@ -19,18 +19,18 @@ edition = "2021"
path = "src/cp.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
filetime = "0.2"
libc = "0.2.137"
quick-error = "2.0.1"
selinux = { version="0.3", optional=true }
uucore = { version=">=0.0.17", package="uucore", path="../../uucore", features=["entries", "fs", "perms", "mode"] }
walkdir = "2.2"
indicatif = "0.17"
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="0.2.3"
exacl= { version = "0.9.0", optional=true }
xattr = { workspace=true }
exacl = { workspace=true, optional=true }
[[bin]]
name = "cp"

View file

@ -15,10 +15,10 @@ edition = "2021"
path = "src/csplit.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
thiserror = "1.0"
regex = "1.7.1"
uucore = { version=">=0.0.17", package="uucore", path="../../uucore", features=["entries", "fs"] }
clap = { workspace=true }
thiserror = { workspace = true }
regex = { workspace=true }
uucore = { workspace=true, features=["entries", "fs"] }
[[bin]]
name = "csplit"

View file

@ -15,11 +15,11 @@ edition = "2021"
path = "src/cut.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
uucore = { version=">=0.0.17", package="uucore", path="../../uucore" }
memchr = "2"
bstr = "1.0"
atty = "0.2"
clap = { workspace=true }
uucore = { workspace=true }
memchr = { workspace=true }
bstr = { workspace=true }
atty = { workspace=true }
[[bin]]
name = "cut"

View file

@ -15,15 +15,15 @@ edition = "2021"
path = "src/date.rs"
[dependencies]
chrono = { version="^0.4.23", default-features=false, features=["std", "alloc", "clock"]}
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
uucore = { version=">=0.0.17", package="uucore", path="../../uucore" }
chrono = { workspace=true }
clap = { workspace=true }
uucore = { workspace=true }
[target.'cfg(unix)'.dependencies]
libc = "0.2"
libc = { workspace=true }
[target.'cfg(windows)'.dependencies]
windows-sys = { version = "0.42.0", default-features = false, features = ["Win32_Foundation", "Win32_System_SystemInformation"] }
windows-sys = { workspace=true, features = ["Win32_Foundation", "Win32_System_SystemInformation"] }
[[bin]]
name = "date"

View file

@ -15,13 +15,13 @@ edition = "2021"
path = "src/dd.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
gcd = "2.2"
libc = "0.2"
uucore = { version=">=0.0.17", package="uucore", path="../../uucore" }
clap = { workspace=true }
gcd = { workspace=true }
libc = { workspace=true }
uucore = { workspace=true }
[target.'cfg(any(target_os = "linux", target_os = "android"))'.dependencies]
signal-hook = "0.3.14"
signal-hook = { workspace=true }
[[bin]]
name = "dd"

View file

@ -15,9 +15,9 @@ edition = "2021"
path = "src/df.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
uucore = { version=">=0.0.17", package="uucore", path="../../uucore", features=["libc", "fsext"] }
unicode-width = "0.1.9"
clap = { workspace=true }
uucore = { workspace=true, features=["libc", "fsext"] }
unicode-width = { workspace=true }
[[bin]]
name = "df"

View file

@ -240,7 +240,7 @@ impl Options {
}
}
(!intersected_types.is_empty()).then(|| intersected_types)
(!intersected_types.is_empty()).then_some(intersected_types)
}
}

View file

@ -15,9 +15,9 @@ edition = "2021"
path = "src/dir.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo", "env"] }
uucore = { version=">=0.0.17", package="uucore", path="../../uucore", features=["entries", "fs"] }
uu_ls = { version = ">=0.0.17", path="../ls"}
clap = { workspace=true, features = ["env"] }
uucore = { workspace=true, features=["entries", "fs"] }
uu_ls = { workspace=true }
[[bin]]
name = "dir"

View file

@ -15,8 +15,8 @@ edition = "2021"
path = "src/dircolors.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
uucore = { version=">=0.0.17", package="uucore", path="../../uucore" }
clap = { workspace=true }
uucore = { workspace=true }
[[bin]]
name = "dircolors"

View file

@ -15,8 +15,8 @@ edition = "2021"
path = "src/dirname.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
uucore = { version=">=0.0.17", package="uucore", path="../../uucore" }
clap = { workspace=true }
uucore = { workspace=true }
[[bin]]
name = "dirname"

View file

@ -15,14 +15,14 @@ edition = "2021"
path = "src/du.rs"
[dependencies]
chrono = { version="^0.4.23", default-features=false, features=["std", "alloc", "clock"]}
chrono = { workspace=true }
# For the --exclude & --exclude-from options
glob = "0.3.0"
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
uucore = { version=">=0.0.17", package="uucore", path="../../uucore" }
glob = { workspace=true }
clap = { workspace=true }
uucore = { workspace=true }
[target.'cfg(target_os = "windows")'.dependencies]
windows-sys = { version = "0.42.0", default-features = false, features = ["Win32_Storage_FileSystem", "Win32_Foundation"] }
windows-sys = { workspace=true, features = ["Win32_Storage_FileSystem", "Win32_Foundation"] }
[[bin]]
name = "du"

View file

@ -15,8 +15,8 @@ edition = "2021"
path = "src/echo.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
uucore = { version=">=0.0.17", package="uucore", path="../../uucore" }
clap = { workspace=true }
uucore = { workspace=true }
[[bin]]
name = "echo"

View file

@ -15,12 +15,12 @@ edition = "2021"
path = "src/env.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
rust-ini = "0.18.0"
uucore = { version=">=0.0.17", package="uucore", path="../../uucore", features=["signals"]}
clap = { workspace=true }
rust-ini = { workspace=true }
uucore = { workspace=true, features=["signals"]}
[target.'cfg(unix)'.dependencies]
nix = { version = "0.26", default-features = false, features = ["signal"] }
nix = { workspace=true, features = ["signal"] }
[[bin]]

View file

@ -15,9 +15,9 @@ edition = "2021"
path = "src/expand.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
unicode-width = "0.1.5"
uucore = { version=">=0.0.17", package="uucore", path="../../uucore" }
clap = { workspace=true }
unicode-width = { workspace=true }
uucore = { workspace=true }
[[bin]]
name = "expand"

View file

@ -15,11 +15,11 @@ edition = "2021"
path = "src/expr.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
num-bigint = "0.4.0"
num-traits = "0.2.15"
onig = { version = "~6.4", default-features = false }
uucore = { version=">=0.0.17", package="uucore", path="../../uucore" }
clap = { workspace=true }
num-bigint = { workspace=true }
num-traits = { workspace=true }
onig = { workspace=true }
uucore = { workspace=true }
[[bin]]
name = "expr"

View file

@ -12,15 +12,15 @@ categories = ["command-line-utilities"]
edition = "2021"
[build-dependencies]
num-traits = "0.2.15" # 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 = { version = "4.0", features = ["wrap_help", "cargo"] }
coz = { version = "0.1.3", optional = true }
num-traits = "0.2.15" # Needs at least version 0.2.15 for "OverflowingAdd"
rand = { version = "0.8", features = ["small_rng"] }
smallvec = { version = "1.10", features = ["union"] }
uucore = { version=">=0.0.17", package="uucore", path="../../uucore" }
clap = { workspace=true }
coz = { workspace=true, optional = true }
num-traits = { workspace=true }
rand = { workspace=true }
smallvec = { workspace=true }
uucore = { workspace=true }
[dev-dependencies]
paste = "1.0.6"

View file

@ -15,8 +15,8 @@ edition = "2021"
path = "src/false.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
uucore = { version=">=0.0.17", package="uucore", path="../../uucore" }
clap = { workspace=true }
uucore = { workspace=true }
[[bin]]
name = "false"

View file

@ -15,9 +15,9 @@ edition = "2021"
path = "src/fmt.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
unicode-width = "0.1.5"
uucore = { version=">=0.0.17", package="uucore", path="../../uucore" }
clap = { workspace=true }
unicode-width = { workspace=true }
uucore = { workspace=true }
[[bin]]
name = "fmt"

View file

@ -15,8 +15,8 @@ edition = "2021"
path = "src/fold.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
uucore = { version=">=0.0.17", package="uucore", path="../../uucore" }
clap = { workspace=true }
uucore = { workspace=true }
[[bin]]
name = "fold"

View file

@ -15,8 +15,8 @@ edition = "2021"
path = "src/groups.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
uucore = { version=">=0.0.17", package="uucore", path="../../uucore", features=["entries", "process"] }
clap = { workspace=true }
uucore = { workspace=true, features=["entries", "process"] }
[[bin]]
name = "groups"

View file

@ -16,17 +16,17 @@ path = "src/hashsum.rs"
[dependencies]
digest = "0.10.6"
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
clap = { workspace=true }
hex = "0.4.3"
memchr = "2"
memchr = { workspace=true }
md-5 = "0.10.5"
regex = "1.7.1"
regex = { workspace=true }
sha1 = "0.10.1"
sha2 = "0.10.2"
sha3 = "0.10.6"
blake2b_simd = "1.0.1"
blake3 = "1.3.2"
uucore = { version=">=0.0.17", package="uucore", path="../../uucore" }
uucore = { workspace=true }
[[bin]]
name = "hashsum"

View file

@ -15,9 +15,9 @@ edition = "2021"
path = "src/head.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
memchr = "2"
uucore = { version=">=0.0.17", package="uucore", path="../../uucore", features=["ringbuffer", "lines"] }
clap = { workspace=true }
memchr = { workspace=true }
uucore = { workspace=true, features=["ringbuffer", "lines"] }
[[bin]]
name = "head"

View file

@ -15,9 +15,9 @@ edition = "2021"
path = "src/hostid.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
libc = "0.2.137"
uucore = { version=">=0.0.17", package="uucore", path="../../uucore" }
clap = { workspace=true }
libc = { workspace=true }
uucore = { workspace=true }
[[bin]]
name = "hostid"

View file

@ -15,12 +15,12 @@ edition = "2021"
path = "src/hostname.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
clap = { workspace=true }
hostname = { version = "0.3", features = ["set"] }
uucore = { version=">=0.0.17", package="uucore", path="../../uucore", features=["wide"] }
uucore = { workspace=true, features=["wide"] }
[target.'cfg(target_os = "windows")'.dependencies]
windows-sys = { version = "0.42.0", default-features = false, features = ["Win32_Networking_WinSock", "Win32_Foundation"] }
windows-sys = { workspace=true, features = ["Win32_Networking_WinSock", "Win32_Foundation"] }
[[bin]]
name = "hostname"

View file

@ -15,9 +15,9 @@ edition = "2021"
path = "src/id.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
uucore = { version=">=0.0.17", package="uucore", path="../../uucore", features=["entries", "process"] }
selinux = { version="0.3", optional = true }
clap = { workspace=true }
uucore = { workspace=true, features=["entries", "process"] }
selinux = { workspace=true, optional=true }
[[bin]]
name = "id"

View file

@ -18,14 +18,14 @@ edition = "2021"
path = "src/install.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
filetime = "0.2"
file_diff = "1.0.0"
libc = ">= 0.2"
uucore = { version=">=0.0.17", package="uucore", path="../../uucore", 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"] }
[dev-dependencies]
time = "0.3"
time = { workspace=true }
[[bin]]
name = "install"

View file

@ -15,9 +15,9 @@ edition = "2021"
path = "src/join.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
uucore = { version=">=0.0.17", package="uucore", path="../../uucore" }
memchr = "2"
clap = { workspace=true }
uucore = { workspace=true }
memchr = { workspace=true }
[[bin]]
name = "join"

View file

@ -15,9 +15,9 @@ edition = "2021"
path = "src/kill.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
nix = { version = "0.26", features = ["signal"] }
uucore = { version=">=0.0.17", package="uucore", path="../../uucore", features=["signals"] }
clap = { workspace=true }
nix = { workspace=true, features = ["signal"] }
uucore = { workspace=true, features=["signals"] }
[[bin]]
name = "kill"

View file

@ -15,8 +15,8 @@ edition = "2021"
path = "src/link.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
uucore = { version=">=0.0.17", package="uucore", path="../../uucore" }
clap = { workspace=true }
uucore = { workspace=true }
[[bin]]
name = "link"

View file

@ -15,8 +15,8 @@ edition = "2021"
path = "src/ln.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
uucore = { version=">=0.0.17", package="uucore", path="../../uucore", features=["fs"] }
clap = { workspace=true }
uucore = { workspace=true, features=["fs"] }
[[bin]]
name = "ln"

View file

@ -15,9 +15,9 @@ edition = "2021"
path = "src/logname.rs"
[dependencies]
libc = "0.2.137"
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
uucore = { version=">=0.0.17", package="uucore", path="../../uucore" }
libc = { workspace=true }
clap = { workspace=true }
uucore = { workspace=true }
[[bin]]
name = "logname"

View file

@ -15,18 +15,18 @@ edition = "2021"
path = "src/ls.rs"
[dependencies]
chrono = { version="^0.4.23", default-features=false, features=["std", "alloc", "clock"]}
clap = { version = "4.0", features = ["wrap_help", "cargo", "env"] }
unicode-width = "0.1.8"
number_prefix = "0.4"
term_grid = "0.1.5"
terminal_size = "0.2.2"
glob = "0.3.0"
lscolors = { version = "0.13.0", default-features=false, features = ["nu-ansi-term"] }
uucore = { version=">=0.0.17", package="uucore", path="../../uucore", features = ["entries", "fs"] }
once_cell = "1.13.1"
atty = "0.2"
selinux = { version="0.3", 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 }
atty = { workspace=true }
selinux = { workspace=true, optional = true }
[[bin]]
name = "ls"

View file

@ -15,8 +15,8 @@ edition = "2021"
path = "src/mkdir.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
uucore = { version=">=0.0.17", package="uucore", path="../../uucore", features=["fs", "mode"] }
clap = { workspace=true }
uucore = { workspace=true, features=["fs", "mode"] }
[[bin]]
name = "mkdir"

View file

@ -15,9 +15,9 @@ edition = "2021"
path = "src/mkfifo.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
libc = "0.2.137"
uucore = { version=">=0.0.17", package="uucore", path="../../uucore" }
clap = { workspace=true }
libc = { workspace=true }
uucore = { workspace=true }
[[bin]]
name = "mkfifo"

View file

@ -16,9 +16,9 @@ name = "uu_mknod"
path = "src/mknod.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
libc = "^0.2.137"
uucore = { version=">=0.0.17", package="uucore", path="../../uucore", features=["mode"] }
clap = { workspace=true }
libc = { workspace=true }
uucore = { workspace=true, features=["mode"] }
[[bin]]
name = "mknod"

View file

@ -15,10 +15,10 @@ edition = "2021"
path = "src/mktemp.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
rand = "0.8"
tempfile = "3"
uucore = { version=">=0.0.17", package="uucore", path="../../uucore" }
clap = { workspace=true }
rand = { workspace=true }
tempfile = { workspace=true }
uucore = { workspace=true }
[[bin]]
name = "mktemp"

View file

@ -15,15 +15,15 @@ edition = "2021"
path = "src/more.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
uucore = { version=">=0.0.17", package="uucore", path="../../uucore" }
crossterm = ">=0.19"
atty = "0.2"
unicode-width = "0.1.7"
unicode-segmentation = "1.9.0"
clap = { workspace=true }
uucore = { workspace=true }
crossterm = { workspace=true }
atty = { workspace=true }
unicode-width = { workspace=true }
unicode-segmentation = { workspace=true }
[target.'cfg(all(unix, not(target_os = "fuchsia")))'.dependencies]
nix = { version = "0.26", default-features = false }
nix = { workspace=true }
[[bin]]
name = "more"

View file

@ -15,11 +15,10 @@ edition = "2021"
path = "src/mv.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
fs_extra = "1.1.0"
indicatif = "0.17"
uucore = { version=">=0.0.17", package="uucore", path="../../uucore" }
clap = { workspace=true }
fs_extra = { workspace=true }
indicatif = { workspace=true }
uucore = { workspace=true }
[[bin]]
name = "mv"

View file

@ -15,10 +15,10 @@ edition = "2021"
path = "src/nice.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
libc = "0.2.137"
nix = { version = "0.26", default-features = false }
uucore = { version=">=0.0.17", package="uucore", path="../../uucore" }
clap = { workspace=true }
libc = { workspace=true }
nix = { workspace=true }
uucore = { workspace=true }
[[bin]]
name = "nice"

View file

@ -15,9 +15,9 @@ edition = "2021"
path = "src/nl.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
regex = "1.7.1"
uucore = { version=">=0.0.17", package="uucore", path="../../uucore" }
clap = { workspace=true }
regex = { workspace=true }
uucore = { workspace=true }
[[bin]]
name = "nl"

View file

@ -15,10 +15,10 @@ edition = "2021"
path = "src/nohup.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
libc = "0.2.137"
atty = "0.2"
uucore = { version=">=0.0.17", package="uucore", path="../../uucore", features=["fs"] }
clap = { workspace=true }
libc = { workspace=true }
atty = { workspace=true }
uucore = { workspace=true, features=["fs"] }
[[bin]]
name = "nohup"

View file

@ -15,10 +15,10 @@ edition = "2021"
path = "src/nproc.rs"
[dependencies]
libc = "0.2.137"
num_cpus = "1.14"
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
uucore = { version=">=0.0.17", package="uucore", path="../../uucore", features=["fs"] }
libc = { workspace=true }
num_cpus = { workspace=true }
clap = { workspace=true }
uucore = { workspace=true, features=["fs"] }
[[bin]]
name = "nproc"

View file

@ -15,8 +15,8 @@ edition = "2021"
path = "src/numfmt.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
uucore = { version=">=0.0.17", package="uucore", path="../../uucore" }
clap = { workspace=true }
uucore = { workspace=true }
[[bin]]
name = "numfmt"

View file

@ -15,10 +15,10 @@ edition = "2021"
path = "src/od.rs"
[dependencies]
byteorder = "1.3.2"
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
half = "2.1"
uucore = { version=">=0.0.17", package="uucore", path="../../uucore" }
byteorder = { workspace=true }
clap = { workspace=true }
half = { workspace=true }
uucore = { workspace=true }
[[bin]]
name = "od"

View file

@ -15,8 +15,8 @@ edition = "2021"
path = "src/paste.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
uucore = { version=">=0.0.17", package="uucore", path="../../uucore" }
clap = { workspace=true }
uucore = { workspace=true }
[[bin]]
name = "paste"

View file

@ -15,9 +15,9 @@ edition = "2021"
path = "src/pathchk.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
libc = "0.2.137"
uucore = { version=">=0.0.17", package="uucore", path="../../uucore" }
clap = { workspace=true }
libc = { workspace=true }
uucore = { workspace=true }
[[bin]]
name = "pathchk"

View file

@ -15,8 +15,8 @@ edition = "2021"
path = "src/pinky.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
uucore = { version=">=0.0.17", package="uucore", path="../../uucore", features=["utmpx", "entries"] }
clap = { workspace=true }
uucore = { workspace=true, features=["utmpx", "entries"] }
[[bin]]
name = "pinky"

View file

@ -15,12 +15,12 @@ edition = "2021"
path = "src/pr.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
time = { version = "0.3", features = ["local-offset", "macros", "formatting"] }
uucore = { version=">=0.0.17", package="uucore", path="../../uucore", features=["entries"] }
quick-error = "2.0.1"
itertools = "0.10.0"
regex = "1.7"
clap = { workspace=true }
time = { workspace=true, features = ["local-offset", "macros", "formatting"] }
uucore = { workspace=true, features=["entries"] }
quick-error = { workspace=true }
itertools = { workspace=true }
regex = { workspace=true }
[[bin]]
name = "pr"

View file

@ -15,8 +15,8 @@ edition = "2021"
path = "src/printenv.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
uucore = { version=">=0.0.17", package="uucore", path="../../uucore" }
clap = { workspace=true }
uucore = { workspace=true }
[[bin]]
name = "printenv"

View file

@ -18,8 +18,8 @@ edition = "2021"
path = "src/printf.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
uucore = { version=">=0.0.17", package="uucore", path="../../uucore", features=["memo"] }
clap = { workspace=true }
uucore = { workspace=true, features=["memo"] }
[[bin]]
name = "printf"

View file

@ -15,9 +15,9 @@ edition = "2021"
path = "src/ptx.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
regex = "1.7.1"
uucore = { version=">=0.0.17", package="uucore", path="../../uucore" }
clap = { workspace=true }
regex = { workspace=true }
uucore = { workspace=true }
[[bin]]
name = "ptx"

View file

@ -15,8 +15,8 @@ edition = "2021"
path = "src/pwd.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
uucore = { version=">=0.0.17", package="uucore", path="../../uucore" }
clap = { workspace=true }
uucore = { workspace=true }
[[bin]]
name = "pwd"

View file

@ -15,8 +15,8 @@ edition = "2021"
path = "src/readlink.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
uucore = { version=">=0.0.17", package="uucore", path="../../uucore", features=["fs"] }
clap = { workspace=true }
uucore = { workspace=true, features=["fs"] }
[[bin]]
name = "readlink"

View file

@ -15,8 +15,8 @@ edition = "2021"
path = "src/realpath.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
uucore = { version=">=0.0.17", package="uucore", path="../../uucore", features=["fs"] }
clap = { workspace=true }
uucore = { workspace=true, features=["fs"] }
[[bin]]
name = "realpath"

View file

@ -15,8 +15,8 @@ edition = "2021"
path = "src/relpath.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
uucore = { version=">=0.0.17", package="uucore", path="../../uucore", features=["fs"] }
clap = { workspace=true }
uucore = { workspace=true, features=["fs"] }
[[bin]]
name = "relpath"

View file

@ -15,15 +15,15 @@ edition = "2021"
path = "src/rm.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
walkdir = "2.2"
uucore = { version=">=0.0.17", package="uucore", path="../../uucore", features=["fs"] }
clap = { workspace=true }
walkdir = { workspace=true }
uucore = { workspace=true, features=["fs"] }
[target.'cfg(unix)'.dependencies]
libc = "0.2.137"
libc = { workspace=true }
[target.'cfg(windows)'.dependencies]
windows-sys = { version = "0.42.0", default-features = false, features = ["Win32_Storage_FileSystem"] }
windows-sys = { workspace=true, features = ["Win32_Storage_FileSystem"] }
[[bin]]
name = "rm"

View file

@ -15,9 +15,9 @@ edition = "2021"
path = "src/rmdir.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
uucore = { version=">=0.0.17", package="uucore", path="../../uucore", features=["fs"] }
libc = "0.2.137"
clap = { workspace=true }
uucore = { workspace=true, features=["fs"] }
libc = { workspace=true }
[[bin]]
name = "rmdir"

View file

@ -14,11 +14,11 @@ edition = "2021"
path = "src/runcon.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
uucore = { version = ">=0.0.9", package="uucore", path="../../uucore", features=["entries", "fs", "perms"] }
selinux = { version = "0.3" }
thiserror = { version = "1.0" }
libc = { version = "0.2" }
clap = { workspace=true }
uucore = { workspace=true, features=["entries", "fs", "perms"] }
selinux = { workspace=true }
thiserror = { workspace=true }
libc = { workspace=true }
[[bin]]
name = "runcon"

View file

@ -16,11 +16,11 @@ edition = "2021"
path = "src/seq.rs"
[dependencies]
bigdecimal = "0.3"
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
num-bigint = "0.4.0"
num-traits = "0.2.15"
uucore = { version=">=0.0.17", package="uucore", path="../../uucore", features=["memo"] }
bigdecimal = { workspace=true }
clap = { workspace=true }
num-bigint = { workspace=true }
num-traits = { workspace=true }
uucore = { workspace=true, features=["memo"] }
[[bin]]
name = "seq"

View file

@ -15,9 +15,9 @@ edition = "2021"
path = "src/shred.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
rand = "0.8"
uucore = { version=">=0.0.17", package="uucore", path="../../uucore" }
clap = { workspace=true }
rand = { workspace=true }
uucore = { workspace=true }
[[bin]]
name = "shred"

View file

@ -15,11 +15,11 @@ edition = "2021"
path = "src/shuf.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
memchr = "2.5.0"
rand = "0.8"
rand_core = "0.6"
uucore = { version=">=0.0.17", package="uucore", path="../../uucore" }
clap = { workspace=true }
memchr = { workspace=true }
rand = { workspace=true }
rand_core = { workspace=true }
uucore = { workspace=true }
[[bin]]
name = "shuf"

View file

@ -15,8 +15,8 @@ edition = "2021"
path = "src/sleep.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
uucore = { version=">=0.0.17", package="uucore", path="../../uucore" }
clap = { workspace=true }
uucore = { workspace=true }
[[bin]]
name = "sleep"

View file

@ -15,19 +15,19 @@ edition = "2021"
path = "src/sort.rs"
[dependencies]
binary-heap-plus = "0.5.0"
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
compare = "0.1.0"
ctrlc = { version = "3.0", features = ["termination"] }
fnv = "1.0.7"
itertools = "0.10.0"
memchr = "2.5.0"
ouroboros = "0.15.5"
rand = "0.8"
rayon = "1.5"
tempfile = "3"
unicode-width = "0.1.8"
uucore = { version=">=0.0.17", package="uucore", path="../../uucore", 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"

View file

@ -15,9 +15,9 @@ edition = "2021"
path = "src/split.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
memchr = "2"
uucore = { version=">=0.0.17", package="uucore", path="../../uucore", features=["fs"] }
clap = { workspace=true }
memchr = { workspace=true }
uucore = { workspace=true, features=["fs"] }
[[bin]]
name = "split"

View file

@ -15,8 +15,8 @@ edition = "2021"
path = "src/stat.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
uucore = { version=">=0.0.17", package="uucore", path="../../uucore", features=["entries", "libc", "fs", "fsext"] }
clap = { workspace=true }
uucore = { workspace=true, features=["entries", "libc", "fs", "fsext"] }
[[bin]]
name = "stat"

View file

@ -15,9 +15,9 @@ edition = "2021"
path = "src/stdbuf.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
tempfile = "3"
uucore = { version=">=0.0.17", package="uucore", path="../../uucore" }
clap = { workspace=true }
tempfile = { workspace=true }
uucore = { workspace=true }
[build-dependencies]
libstdbuf = { version="0.0.17", package="uu_stdbuf_libstdbuf", path="src/libstdbuf" }

View file

@ -18,7 +18,7 @@ crate-type = ["cdylib", "rlib"] # XXX: note: the rlib is just to prevent Cargo f
[dependencies]
cpp = "0.5"
libc = "0.2"
libc = { workspace=true }
uucore = { version=">=0.0.17", package="uucore", path="../../../../uucore" }
[build-dependencies]

View file

@ -15,9 +15,9 @@ edition = "2021"
path = "src/stty.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
uucore = { version=">=0.0.17", package="uucore", path="../../uucore" }
nix = { version="0.26", features = ["term"] }
clap = { workspace=true }
uucore = { workspace=true }
nix = { workspace=true, features = ["term", "ioctl"] }
[[bin]]
name = "stty"

View file

@ -15,8 +15,8 @@ edition = "2021"
path = "src/sum.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
uucore = { version=">=0.0.17", package="uucore", path="../../uucore" }
clap = { workspace=true }
uucore = { workspace=true }
[[bin]]
name = "sum"

View file

@ -15,15 +15,15 @@ edition = "2021"
path = "src/sync.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
libc = "0.2.137"
uucore = { version=">=0.0.17", package="uucore", path="../../uucore", features=["wide"] }
clap = { workspace=true }
libc = { workspace=true }
uucore = { workspace=true, features=["wide"] }
[target.'cfg(any(target_os = "linux", target_os = "android"))'.dependencies]
nix = "0.26"
nix = { workspace=true }
[target.'cfg(target_os = "windows")'.dependencies]
windows-sys = { version = "0.42.0", default-features = false, 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"

View file

@ -17,11 +17,11 @@ edition = "2021"
path = "src/tac.rs"
[dependencies]
memchr = "2"
memchr = { workspace=true }
memmap2 = "0.5"
regex = "1"
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
uucore = { version=">=0.0.17", package="uucore", path="../../uucore" }
regex = { workspace=true }
clap = { workspace=true }
uucore = { workspace=true }
[[bin]]
name = "tac"

View file

@ -1,4 +1,3 @@
# spell-checker:ignore (libs) kqueue
[package]
name = "uu_tail"
version = "0.0.17"
@ -16,20 +15,20 @@ edition = "2021"
path = "src/tail.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
libc = "0.2.137"
memchr = "2.5.0"
notify = { version = "=5.0.0", features=["macos_kqueue"]}
uucore = { version=">=0.0.17", package="uucore", path="../../uucore", features=["ringbuffer", "lines"] }
same-file = "1.0.6"
atty = "0.2"
clap = { workspace=true }
libc = { workspace=true }
memchr = { workspace=true }
notify = { workspace=true }
uucore = { workspace=true, features=["ringbuffer", "lines"] }
same-file = { workspace=true }
atty = { workspace=true }
[target.'cfg(windows)'.dependencies]
windows-sys = { version = "0.42.0", default-features = false, features = ["Win32_System_Threading", "Win32_Foundation"] }
winapi-util = { version="0.1.5" }
windows-sys = { workspace=true, features = ["Win32_System_Threading", "Win32_Foundation"] }
winapi-util = { workspace=true }
[target.'cfg(unix)'.dependencies]
nix = { version = "0.26", features = ["fs"] }
nix = { workspace=true, features = ["fs"] }
[[bin]]
name = "tail"

View file

@ -15,10 +15,9 @@ edition = "2021"
path = "src/tee.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
libc = "0.2.137"
retain_mut = "=0.1.7" # ToDO: [2021-01-01; rivy; maint/MinSRV] ~ v0.1.5 uses const generics which aren't stabilized until rust v1.51.0
uucore = { version=">=0.0.17", package="uucore", path="../../uucore", features=["libc"] }
clap = { workspace=true }
libc = { workspace=true }
uucore = { workspace=true, features=["libc"] }
[[bin]]
name = "tee"

View file

@ -6,7 +6,6 @@
// * file that was distributed with this source code.
use clap::{builder::PossibleValue, crate_version, Arg, ArgAction, Command};
use retain_mut::RetainMut;
use std::fs::OpenOptions;
use std::io::{copy, sink, stdin, stdout, Error, ErrorKind, Read, Result, Write};
use std::path::PathBuf;
@ -301,7 +300,7 @@ impl Write for MultiWriter {
let mut aborted = None;
let mode = self.output_error_mode.clone();
let mut errors = 0;
RetainMut::retain_mut(&mut self.writers, |writer| {
self.writers.retain_mut(|writer| {
let result = writer.write_all(buf);
match result {
Err(f) => {
@ -332,7 +331,7 @@ impl Write for MultiWriter {
let mut aborted = None;
let mode = self.output_error_mode.clone();
let mut errors = 0;
RetainMut::retain_mut(&mut self.writers, |writer| {
self.writers.retain_mut(|writer| {
let result = writer.flush();
match result {
Err(f) => {

View file

@ -15,12 +15,12 @@ edition = "2021"
path = "src/test.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
libc = "0.2.137"
uucore = { version=">=0.0.17", package="uucore", path="../../uucore" }
clap = { workspace=true }
libc = { workspace=true }
uucore = { workspace=true }
[target.'cfg(target_os = "redox")'.dependencies]
redox_syscall = "0.2"
redox_syscall = { workspace=true }
[[bin]]
name = "test"

View file

@ -15,10 +15,10 @@ edition = "2021"
path = "src/timeout.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
libc = "0.2.137"
nix = { version = "0.26", default-features = false, features = ["signal"] }
uucore = { version=">=0.0.17", package="uucore", path="../../uucore", features=["process", "signals"] }
clap = { workspace=true }
libc = { workspace=true }
nix = { workspace=true, features = ["signal"] }
uucore = { workspace=true, features=["process", "signals"] }
[[bin]]
name = "timeout"

View file

@ -15,13 +15,13 @@ edition = "2021"
path = "src/touch.rs"
[dependencies]
filetime = "0.2.18"
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
time = { version = "0.3", features = ["parsing", "formatting", "local-offset", "macros"] }
uucore = { version=">=0.0.17", package="uucore", path="../../uucore", features=["libc"] }
filetime = { workspace=true }
clap = { workspace=true }
time = { workspace=true, features = ["parsing", "formatting", "local-offset", "macros"] }
uucore = { workspace=true, features=["libc"] }
[target.'cfg(target_os = "windows")'.dependencies]
windows-sys = { version = "0.42.0", default-features = false, features = ["Win32_Storage_FileSystem", "Win32_Foundation"] }
windows-sys = { workspace=true, features = ["Win32_Storage_FileSystem", "Win32_Foundation"] }
[[bin]]
name = "touch"

View file

@ -15,9 +15,9 @@ edition = "2021"
path = "src/tr.rs"
[dependencies]
nom = "7.1.1"
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
uucore = { version=">=0.0.17", package="uucore", path="../../uucore" }
nom = { workspace=true }
clap = { workspace=true }
uucore = { workspace=true }
[[bin]]
name = "tr"

View file

@ -15,8 +15,8 @@ edition = "2021"
path = "src/true.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
uucore = { version=">=0.0.17", package="uucore", path="../../uucore" }
clap = { workspace=true }
uucore = { workspace=true }
[[bin]]
name = "true"

View file

@ -15,8 +15,8 @@ edition = "2021"
path = "src/truncate.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
uucore = { version=">=0.0.17", package="uucore", path="../../uucore" }
clap = { workspace=true }
uucore = { workspace=true }
[[bin]]
name = "truncate"

View file

@ -15,8 +15,8 @@ edition = "2021"
path = "src/tsort.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
uucore = { version=">=0.0.17", package="uucore", path="../../uucore" }
clap = { workspace=true }
uucore = { workspace=true }
[[bin]]
name = "tsort"

View file

@ -15,10 +15,10 @@ edition = "2021"
path = "src/tty.rs"
[dependencies]
clap = { version = "4.0", features = ["wrap_help", "cargo"] }
nix = "0.26"
atty = "0.2"
uucore = { version=">=0.0.17", package="uucore", path="../../uucore", features=["fs"] }
clap = { workspace=true }
nix = { workspace=true, features=["term"] }
atty = { workspace=true }
uucore = { workspace=true, features=["fs"] }
[[bin]]
name = "tty"

Some files were not shown because too many files have changed in this diff Show more