2020-05-25 04:43:59 +00:00
# coreutils (uutils)
2020-04-13 20:10:20 +00:00
# * see the repository LICENSE, README, and CONTRIBUTING files for more information
2020-04-13 18:01:20 +00:00
2023-03-04 17:23:33 +00:00
# spell-checker:ignore (libs) libselinux gethostid procfs bigdecimal kqueue fundu mangen
2021-08-02 18:36:06 +00:00
2015-07-31 22:49:14 +00:00
[ package ]
2020-05-24 23:14:37 +00:00
name = "coreutils"
2023-01-21 09:38:18 +00:00
version = "0.0.17"
2020-05-24 23:14:37 +00:00
authors = [ "uutils developers" ]
2020-04-13 18:01:20 +00:00
license = "MIT"
2020-06-01 22:24:19 +00:00
description = "coreutils ~ GNU coreutils (updated); implemented as universal (cross-platform) utils, written in Rust"
2022-01-20 15:46:49 +00:00
default-run = "coreutils"
2020-05-24 23:14:37 +00:00
homepage = "https://github.com/uutils/coreutils"
2020-04-13 18:01:20 +00:00
repository = "https://github.com/uutils/coreutils"
2020-05-24 23:14:37 +00:00
readme = "README.md"
2020-05-31 04:02:14 +00:00
keywords = [ "coreutils" , "uutils" , "cross-platform" , "cli" , "utility" ]
2020-05-25 15:47:09 +00:00
categories = [ "command-line-utilities" ]
2023-02-11 11:41:28 +00:00
rust-version = "1.64.0"
2022-04-01 17:03:15 +00:00
edition = "2021"
2020-05-24 23:14:37 +00:00
2015-07-31 22:49:14 +00:00
build = "build.rs"
[ features ]
2020-01-01 19:21:51 +00:00
default = [ "feat_common_core" ]
2020-04-08 05:21:25 +00:00
## OS feature shortcodes
2020-04-20 03:05:49 +00:00
macos = [ "feat_os_macos" ]
2020-01-01 19:21:51 +00:00
unix = [ "feat_os_unix" ]
windows = [ "feat_os_windows" ]
2020-04-08 05:21:25 +00:00
## project-specific feature shortcodes
2020-01-01 19:21:51 +00:00
nightly = [ ]
2020-04-08 05:21:25 +00:00
test_unimplemented = [ ]
2022-12-30 05:39:40 +00:00
# * only build `uudoc` when `--feature uudoc` is activated
uudoc = [ "zip" ]
## features
# "feat_acl" == enable support for ACLs (access control lists; by using`--features feat_acl`)
# NOTE:
# * On linux, the posix-acl/acl-sys crate requires `libacl` headers and shared library to be accessible in the C toolchain at compile time.
# * On FreeBSD and macOS this is not required.
feat_acl = [ "cp/feat_acl" ]
# "feat_selinux" == enable support for SELinux Security Context (by using `--features feat_selinux`)
# 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" ]
##
2020-04-08 05:21:25 +00:00
## feature sets
2020-04-20 03:05:49 +00:00
## (common/core and Tier1) feature sets
2020-04-08 05:21:25 +00:00
# "feat_common_core" == baseline core set of utilities which can be built/run on most targets
2020-01-01 19:21:51 +00:00
feat_common_core = [
2020-05-11 02:14:58 +00:00
"base32" ,
"base64" ,
"basename" ,
2021-08-04 22:28:14 +00:00
"basenc" ,
2020-05-11 02:14:58 +00:00
"cat" ,
"cksum" ,
"comm" ,
"cp" ,
2020-12-27 14:24:02 +00:00
"csplit" ,
2020-05-11 02:14:58 +00:00
"cut" ,
"date" ,
"df" ,
2022-04-15 15:30:40 +00:00
"dir" ,
2020-05-11 02:14:58 +00:00
"dircolors" ,
"dirname" ,
2021-07-12 20:53:31 +00:00
"dd" ,
2021-04-01 21:16:47 +00:00
"du" ,
2020-05-11 02:14:58 +00:00
"echo" ,
"env" ,
"expand" ,
"expr" ,
"factor" ,
"false" ,
"fmt" ,
"fold" ,
"hashsum" ,
"head" ,
"join" ,
"link" ,
"ln" ,
"ls" ,
"mkdir" ,
"mktemp" ,
"more" ,
"mv" ,
"nl" ,
2021-06-19 22:25:02 +00:00
"numfmt" ,
2020-05-11 02:14:58 +00:00
"od" ,
"paste" ,
2018-12-08 16:27:53 +00:00
"pr" ,
2020-05-11 02:14:58 +00:00
"printenv" ,
"printf" ,
"ptx" ,
"pwd" ,
"readlink" ,
"realpath" ,
"relpath" ,
"rm" ,
"rmdir" ,
"seq" ,
"shred" ,
"shuf" ,
"sleep" ,
"sort" ,
"split" ,
"sum" ,
"tac" ,
"tail" ,
"tee" ,
"test" ,
"tr" ,
"true" ,
"truncate" ,
"tsort" ,
2021-06-13 00:13:54 +00:00
"touch" ,
2020-05-11 02:14:58 +00:00
"unexpand" ,
"uniq" ,
2021-08-27 22:38:00 +00:00
"unlink" ,
2022-04-15 15:30:40 +00:00
"vdir" ,
2020-05-11 02:14:58 +00:00
"wc" ,
"yes" ,
2015-07-31 22:49:14 +00:00
]
2020-04-20 03:05:49 +00:00
# "feat_Tier1" == expanded set of utilities which can be built/run on the usual rust "Tier 1" target platforms (ref: <https://forge.rust-lang.org/release/platform-support.html>)
feat_Tier1 = [
2020-05-11 02:14:58 +00:00
"feat_common_core" ,
#
"arch" ,
"hostname" ,
"nproc" ,
"sync" ,
"touch" ,
2022-12-13 06:16:56 +00:00
"uname" ,
2020-05-11 02:14:58 +00:00
"whoami" ,
2020-04-20 03:05:49 +00:00
]
## (primary platforms) feature sets
# "feat_os_macos" == set of utilities which can be built/run on the MacOS platform
feat_os_macos = [
2020-05-11 02:14:58 +00:00
"feat_os_unix" , ## == a modern/usual *nix platform
2022-12-30 05:39:40 +00:00
#
"feat_require_unix_hostid" ,
2020-04-20 03:05:49 +00:00
]
# "feat_os_unix" == set of utilities which can be built/run on modern/usual *nix platforms
feat_os_unix = [
2020-05-11 02:14:58 +00:00
"feat_Tier1" ,
#
"feat_require_crate_cpp" ,
"feat_require_unix" ,
"feat_require_unix_utmpx" ,
2020-04-20 03:05:49 +00:00
]
# "feat_os_windows" == set of utilities which can be built/run on modern/usual windows platforms
feat_os_windows = [
2020-05-11 02:14:58 +00:00
"feat_Tier1" , ## == "feat_os_windows_legacy" + "hostname"
]
2020-04-20 03:05:49 +00:00
## (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 = [
2020-05-11 02:14:58 +00:00
"feat_Tier1" ,
#
"feat_require_unix" ,
2022-12-30 05:39:40 +00:00
"feat_require_unix_hostid" ,
2020-05-11 02:14:58 +00:00
"feat_require_unix_utmpx" ,
2020-04-20 03:05:49 +00:00
]
# "feat_os_unix_musl" == set of utilities which can be built/run on targets binding to the "musl" library (ref: <https://musl.libc.org/about.html>)
feat_os_unix_musl = [
2020-05-11 02:14:58 +00:00
"feat_Tier1" ,
#
"feat_require_unix" ,
2022-12-30 05:39:40 +00:00
"feat_require_unix_hostid" ,
2022-02-09 18:08:28 +00:00
]
feat_os_unix_android = [
"feat_Tier1" ,
#
"feat_require_unix" ,
2020-04-20 03:05:49 +00:00
]
## 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 = [
2020-05-11 02:14:58 +00:00
"stdbuf" ,
2020-04-20 03:05:49 +00:00
]
# "feat_require_unix" == set of utilities requiring support which is only available on unix platforms (as of 2020-04-23)
feat_require_unix = [
2020-05-11 02:14:58 +00:00
"chgrp" ,
"chmod" ,
"chown" ,
"chroot" ,
"groups" ,
"id" ,
"install" ,
"kill" ,
"logname" ,
"mkfifo" ,
"mknod" ,
"nice" ,
"nohup" ,
"pathchk" ,
"stat" ,
2022-06-24 18:01:02 +00:00
"stty" ,
2020-05-11 02:14:58 +00:00
"timeout" ,
"tty" ,
2020-04-20 03:05:49 +00:00
]
2020-05-01 21:35:55 +00:00
# "feat_require_unix_utmpx" == set of utilities requiring unix utmp/utmpx support
2020-04-20 03:05:49 +00:00
# * ref: <https://wiki.musl-libc.org/faq.html#Q:-Why-is-the-utmp/wtmp-functionality-only-implemented-as-stubs?>
feat_require_unix_utmpx = [
2020-05-11 02:14:58 +00:00
"pinky" ,
"uptime" ,
"users" ,
"who" ,
2020-04-20 03:05:49 +00:00
]
2022-12-30 05:39:40 +00:00
# "feat_require_unix_hostid" == set of utilities requiring gethostid in libc (only some unixes provide)
feat_require_unix_hostid = [
2022-02-09 18:08:28 +00:00
"hostid" ,
]
2021-08-05 04:39:37 +00:00
# "feat_require_selinux" == set of utilities depending on SELinux.
feat_require_selinux = [
"chcon" ,
2021-08-20 01:38:57 +00:00
"runcon" ,
2021-08-05 04:39:37 +00:00
]
2020-04-20 03:05:49 +00:00
## (alternate/newer/smaller platforms) feature sets
2020-05-01 21:35:55 +00:00
# "feat_os_unix_fuchsia" == set of utilities which can be built/run on the "Fuchsia" OS (refs: <https://fuchsia.dev>; <https://en.wikipedia.org/wiki/Google_Fuchsia>)
2020-04-20 03:05:49 +00:00
feat_os_unix_fuchsia = [
2020-05-11 02:14:58 +00:00
"feat_common_core" ,
#
"feat_require_crate_cpp" ,
#
"chgrp" ,
"chmod" ,
"chown" ,
"du" ,
"groups" ,
"hostid" ,
"install" ,
"logname" ,
"mkfifo" ,
"mknod" ,
"nice" ,
"pathchk" ,
"tty" ,
"uname" ,
"unlink" ,
2020-04-20 03:05:49 +00:00
]
# "feat_os_unix_redox" == set of utilities which can be built/run on "Redox OS" (refs: <https://www.redox-os.org>; <https://en.wikipedia.org/wiki/Redox_(operating_system)>)
feat_os_unix_redox = [
2020-05-11 02:14:58 +00:00
"feat_common_core" ,
#
"chmod" ,
2021-08-06 20:17:40 +00:00
"uname" ,
2020-04-20 03:05:49 +00:00
]
# "feat_os_windows_legacy" == slightly restricted set of utilities which can be built/run on early windows platforms (eg, "WinXP")
feat_os_windows_legacy = [
2020-05-11 02:14:58 +00:00
"feat_common_core" ,
#
"arch" ,
"nproc" ,
"sync" ,
"touch" ,
"whoami" ,
2020-04-20 03:05:49 +00:00
]
2020-05-05 06:47:26 +00:00
##
2020-05-22 03:41:49 +00:00
# * bypass/override ~ translate 'test' feature name to avoid dependency collision with rust core 'test' crate (o/w surfaces as compiler errors during testing)
2020-05-05 06:47:26 +00:00
test = [ "uu_test" ]
2015-07-31 22:49:14 +00:00
2023-02-11 14:05:28 +00:00
[ workspace . dependencies ]
bigdecimal = "0.3"
binary-heap-plus = "0.5.0"
bstr = "1.0"
bytecount = "0.6.3"
byteorder = "1.3.2"
2023-03-24 09:34:01 +00:00
chrono = { version = "^0.4.24" , default-features = false , features = [ "std" , "alloc" , "clock" ] }
2023-03-08 12:55:45 +00:00
clap = { version = "4.1" , features = [ "wrap_help" , "cargo" ] }
2022-10-01 10:27:32 +00:00
clap_complete = "4.0"
2023-03-04 17:23:33 +00:00
clap_mangen = "0.2"
2023-02-11 14:05:28 +00:00
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"
2023-03-24 15:05:59 +00:00
fundu = "0.4.3"
2023-02-11 14:05:28 +00:00
gcd = "2.2"
glob = "0.3.0"
half = "2.1"
indicatif = "0.17"
2023-03-27 05:18:34 +00:00
is-terminal = "0.4.5"
2023-03-27 19:24:30 +00:00
itertools = "0.10.5"
2023-02-11 14:05:28 +00:00
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"
2023-03-24 21:28:41 +00:00
num-bigint = "0.4.3"
2023-02-11 14:05:28 +00:00
num-traits = "0.2.15"
number_prefix = "0.4"
2022-08-17 16:20:25 +00:00
once_cell = "1.13.1"
2023-02-11 14:05:28 +00:00
onig = { version = "~6.4" , default-features = false }
2023-03-27 05:21:59 +00:00
ouroboros = "0.15.6"
2022-10-13 14:18:17 +00:00
phf = "0.11.1"
2023-02-11 14:05:28 +00:00
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"
2023-03-11 14:57:10 +00:00
rayon = "1.7"
2023-02-11 14:05:28 +00:00
redox_syscall = "0.2"
2023-03-27 05:24:08 +00:00
regex = "1.7.3"
2023-02-11 14:05:28 +00:00
rust-ini = "0.18.0"
same-file = "1.0.6"
2023-02-23 23:41:34 +00:00
selinux = "0.4"
2023-03-27 05:27:31 +00:00
signal-hook = "0.3.15"
2023-02-11 14:05:28 +00:00
smallvec = { version = "1.10" , features = [ "union" ] }
2023-03-09 09:30:35 +00:00
tempfile = "3.4.0"
2023-02-11 14:05:28 +00:00
term_grid = "0.1.5"
2023-03-12 15:26:56 +00:00
terminal_size = "0.2.5"
2022-11-21 07:02:15 +00:00
textwrap = { version = "0.16.0" , features = [ "terminal_size" ] }
2023-02-11 14:05:28 +00:00
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" ] }
2023-02-13 03:40:16 +00:00
hex = "0.4.3"
md-5 = "0.10.5"
2023-03-25 01:56:40 +00:00
sha1 = "0.10.5"
2023-02-13 03:40:16 +00:00
sha2 = "0.10.2"
sha3 = "0.10.6"
blake2b_simd = "1.0.1"
2023-03-24 09:32:18 +00:00
blake3 = "1.3.3"
2023-02-13 03:40:16 +00:00
sm3 = "0.4.1"
digest = "0.10.6"
2023-01-21 09:38:18 +00:00
uucore = { version = ">=0.0.17" , package = "uucore" , path = "src/uucore" }
2023-02-11 14:05:28 +00:00
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 }
2023-03-04 17:23:33 +00:00
clap_mangen = { workspace = true }
2023-02-11 14:05:28 +00:00
phf = { workspace = true }
selinux = { workspace = true , optional = true }
textwrap = { workspace = true }
zip = { workspace = true , optional = true }
2020-05-03 20:18:48 +00:00
# * uutils
2023-01-21 09:38:18 +00:00
uu_test = { optional = true , version = "0.0.17" , package = "uu_test" , path = "src/uu/test" }
2020-05-05 06:47:26 +00:00
#
2023-01-21 09:38:18 +00:00
arch = { optional = true , version = "0.0.17" , package = "uu_arch" , path = "src/uu/arch" }
base32 = { optional = true , version = "0.0.17" , package = "uu_base32" , path = "src/uu/base32" }
base64 = { optional = true , version = "0.0.17" , package = "uu_base64" , path = "src/uu/base64" }
basename = { optional = true , version = "0.0.17" , package = "uu_basename" , path = "src/uu/basename" }
basenc = { optional = true , version = "0.0.17" , package = "uu_basenc" , path = "src/uu/basenc" }
cat = { optional = true , version = "0.0.17" , package = "uu_cat" , path = "src/uu/cat" }
chcon = { optional = true , version = "0.0.17" , package = "uu_chcon" , path = "src/uu/chcon" }
chgrp = { optional = true , version = "0.0.17" , package = "uu_chgrp" , path = "src/uu/chgrp" }
chmod = { optional = true , version = "0.0.17" , package = "uu_chmod" , path = "src/uu/chmod" }
chown = { optional = true , version = "0.0.17" , package = "uu_chown" , path = "src/uu/chown" }
chroot = { optional = true , version = "0.0.17" , package = "uu_chroot" , path = "src/uu/chroot" }
cksum = { optional = true , version = "0.0.17" , package = "uu_cksum" , path = "src/uu/cksum" }
comm = { optional = true , version = "0.0.17" , package = "uu_comm" , path = "src/uu/comm" }
cp = { optional = true , version = "0.0.17" , package = "uu_cp" , path = "src/uu/cp" }
csplit = { optional = true , version = "0.0.17" , package = "uu_csplit" , path = "src/uu/csplit" }
cut = { optional = true , version = "0.0.17" , package = "uu_cut" , path = "src/uu/cut" }
date = { optional = true , version = "0.0.17" , package = "uu_date" , path = "src/uu/date" }
dd = { optional = true , version = "0.0.17" , package = "uu_dd" , path = "src/uu/dd" }
df = { optional = true , version = "0.0.17" , package = "uu_df" , path = "src/uu/df" }
dir = { optional = true , version = "0.0.17" , package = "uu_dir" , path = "src/uu/dir" }
dircolors = { optional = true , version = "0.0.17" , package = "uu_dircolors" , path = "src/uu/dircolors" }
dirname = { optional = true , version = "0.0.17" , package = "uu_dirname" , path = "src/uu/dirname" }
du = { optional = true , version = "0.0.17" , package = "uu_du" , path = "src/uu/du" }
echo = { optional = true , version = "0.0.17" , package = "uu_echo" , path = "src/uu/echo" }
env = { optional = true , version = "0.0.17" , package = "uu_env" , path = "src/uu/env" }
expand = { optional = true , version = "0.0.17" , package = "uu_expand" , path = "src/uu/expand" }
expr = { optional = true , version = "0.0.17" , package = "uu_expr" , path = "src/uu/expr" }
factor = { optional = true , version = "0.0.17" , package = "uu_factor" , path = "src/uu/factor" }
false = { optional = true , version = "0.0.17" , package = "uu_false" , path = "src/uu/false" }
fmt = { optional = true , version = "0.0.17" , package = "uu_fmt" , path = "src/uu/fmt" }
fold = { optional = true , version = "0.0.17" , package = "uu_fold" , path = "src/uu/fold" }
groups = { optional = true , version = "0.0.17" , package = "uu_groups" , path = "src/uu/groups" }
hashsum = { optional = true , version = "0.0.17" , package = "uu_hashsum" , path = "src/uu/hashsum" }
head = { optional = true , version = "0.0.17" , package = "uu_head" , path = "src/uu/head" }
hostid = { optional = true , version = "0.0.17" , package = "uu_hostid" , path = "src/uu/hostid" }
hostname = { optional = true , version = "0.0.17" , package = "uu_hostname" , path = "src/uu/hostname" }
id = { optional = true , version = "0.0.17" , package = "uu_id" , path = "src/uu/id" }
install = { optional = true , version = "0.0.17" , package = "uu_install" , path = "src/uu/install" }
join = { optional = true , version = "0.0.17" , package = "uu_join" , path = "src/uu/join" }
kill = { optional = true , version = "0.0.17" , package = "uu_kill" , path = "src/uu/kill" }
link = { optional = true , version = "0.0.17" , package = "uu_link" , path = "src/uu/link" }
ln = { optional = true , version = "0.0.17" , package = "uu_ln" , path = "src/uu/ln" }
ls = { optional = true , version = "0.0.17" , package = "uu_ls" , path = "src/uu/ls" }
logname = { optional = true , version = "0.0.17" , package = "uu_logname" , path = "src/uu/logname" }
mkdir = { optional = true , version = "0.0.17" , package = "uu_mkdir" , path = "src/uu/mkdir" }
mkfifo = { optional = true , version = "0.0.17" , package = "uu_mkfifo" , path = "src/uu/mkfifo" }
mknod = { optional = true , version = "0.0.17" , package = "uu_mknod" , path = "src/uu/mknod" }
mktemp = { optional = true , version = "0.0.17" , package = "uu_mktemp" , path = "src/uu/mktemp" }
more = { optional = true , version = "0.0.17" , package = "uu_more" , path = "src/uu/more" }
mv = { optional = true , version = "0.0.17" , package = "uu_mv" , path = "src/uu/mv" }
nice = { optional = true , version = "0.0.17" , package = "uu_nice" , path = "src/uu/nice" }
nl = { optional = true , version = "0.0.17" , package = "uu_nl" , path = "src/uu/nl" }
nohup = { optional = true , version = "0.0.17" , package = "uu_nohup" , path = "src/uu/nohup" }
nproc = { optional = true , version = "0.0.17" , package = "uu_nproc" , path = "src/uu/nproc" }
numfmt = { optional = true , version = "0.0.17" , package = "uu_numfmt" , path = "src/uu/numfmt" }
od = { optional = true , version = "0.0.17" , package = "uu_od" , path = "src/uu/od" }
paste = { optional = true , version = "0.0.17" , package = "uu_paste" , path = "src/uu/paste" }
pathchk = { optional = true , version = "0.0.17" , package = "uu_pathchk" , path = "src/uu/pathchk" }
pinky = { optional = true , version = "0.0.17" , package = "uu_pinky" , path = "src/uu/pinky" }
pr = { optional = true , version = "0.0.17" , package = "uu_pr" , path = "src/uu/pr" }
printenv = { optional = true , version = "0.0.17" , package = "uu_printenv" , path = "src/uu/printenv" }
printf = { optional = true , version = "0.0.17" , package = "uu_printf" , path = "src/uu/printf" }
ptx = { optional = true , version = "0.0.17" , package = "uu_ptx" , path = "src/uu/ptx" }
pwd = { optional = true , version = "0.0.17" , package = "uu_pwd" , path = "src/uu/pwd" }
readlink = { optional = true , version = "0.0.17" , package = "uu_readlink" , path = "src/uu/readlink" }
realpath = { optional = true , version = "0.0.17" , package = "uu_realpath" , path = "src/uu/realpath" }
relpath = { optional = true , version = "0.0.17" , package = "uu_relpath" , path = "src/uu/relpath" }
rm = { optional = true , version = "0.0.17" , package = "uu_rm" , path = "src/uu/rm" }
rmdir = { optional = true , version = "0.0.17" , package = "uu_rmdir" , path = "src/uu/rmdir" }
runcon = { optional = true , version = "0.0.17" , package = "uu_runcon" , path = "src/uu/runcon" }
seq = { optional = true , version = "0.0.17" , package = "uu_seq" , path = "src/uu/seq" }
shred = { optional = true , version = "0.0.17" , package = "uu_shred" , path = "src/uu/shred" }
shuf = { optional = true , version = "0.0.17" , package = "uu_shuf" , path = "src/uu/shuf" }
sleep = { optional = true , version = "0.0.17" , package = "uu_sleep" , path = "src/uu/sleep" }
sort = { optional = true , version = "0.0.17" , package = "uu_sort" , path = "src/uu/sort" }
split = { optional = true , version = "0.0.17" , package = "uu_split" , path = "src/uu/split" }
stat = { optional = true , version = "0.0.17" , package = "uu_stat" , path = "src/uu/stat" }
stdbuf = { optional = true , version = "0.0.17" , package = "uu_stdbuf" , path = "src/uu/stdbuf" }
stty = { optional = true , version = "0.0.17" , package = "uu_stty" , path = "src/uu/stty" }
sum = { optional = true , version = "0.0.17" , package = "uu_sum" , path = "src/uu/sum" }
sync = { optional = true , version = "0.0.17" , package = "uu_sync" , path = "src/uu/sync" }
tac = { optional = true , version = "0.0.17" , package = "uu_tac" , path = "src/uu/tac" }
tail = { optional = true , version = "0.0.17" , package = "uu_tail" , path = "src/uu/tail" }
tee = { optional = true , version = "0.0.17" , package = "uu_tee" , path = "src/uu/tee" }
timeout = { optional = true , version = "0.0.17" , package = "uu_timeout" , path = "src/uu/timeout" }
touch = { optional = true , version = "0.0.17" , package = "uu_touch" , path = "src/uu/touch" }
tr = { optional = true , version = "0.0.17" , package = "uu_tr" , path = "src/uu/tr" }
true = { optional = true , version = "0.0.17" , package = "uu_true" , path = "src/uu/true" }
truncate = { optional = true , version = "0.0.17" , package = "uu_truncate" , path = "src/uu/truncate" }
tsort = { optional = true , version = "0.0.17" , package = "uu_tsort" , path = "src/uu/tsort" }
tty = { optional = true , version = "0.0.17" , package = "uu_tty" , path = "src/uu/tty" }
uname = { optional = true , version = "0.0.17" , package = "uu_uname" , path = "src/uu/uname" }
unexpand = { optional = true , version = "0.0.17" , package = "uu_unexpand" , path = "src/uu/unexpand" }
uniq = { optional = true , version = "0.0.17" , package = "uu_uniq" , path = "src/uu/uniq" }
unlink = { optional = true , version = "0.0.17" , package = "uu_unlink" , path = "src/uu/unlink" }
uptime = { optional = true , version = "0.0.17" , package = "uu_uptime" , path = "src/uu/uptime" }
users = { optional = true , version = "0.0.17" , package = "uu_users" , path = "src/uu/users" }
vdir = { optional = true , version = "0.0.17" , package = "uu_vdir" , path = "src/uu/vdir" }
wc = { optional = true , version = "0.0.17" , package = "uu_wc" , path = "src/uu/wc" }
who = { optional = true , version = "0.0.17" , package = "uu_who" , path = "src/uu/who" }
whoami = { optional = true , version = "0.0.17" , package = "uu_whoami" , path = "src/uu/whoami" }
yes = { optional = true , version = "0.0.17" , package = "uu_yes" , path = "src/uu/yes" }
2021-05-17 17:22:56 +00:00
2021-05-29 12:29:46 +00:00
# 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" }
2021-05-17 17:22:56 +00:00
2020-01-03 00:22:13 +00:00
#
2020-05-22 05:17:56 +00:00
# * pinned transitive dependencies
2021-03-25 22:28:47 +00:00
# Not needed for now. Keep as examples:
#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()`)
2015-07-31 22:49:14 +00:00
2015-11-16 05:25:01 +00:00
[ dev-dependencies ]
2023-02-11 14:05:28 +00:00
chrono = { workspace = true }
2020-10-10 17:53:09 +00:00
conv = "0.3"
2023-02-11 14:05:28 +00:00
filetime = { workspace = true }
glob = { workspace = true }
libc = { workspace = true }
2022-01-17 07:53:20 +00:00
pretty_assertions = "1"
2023-02-11 14:05:28 +00:00
rand = { workspace = true }
regex = { workspace = true }
2022-02-12 17:12:02 +00:00
sha1 = { version = "0.10" , features = [ "std" ] }
2023-02-11 14:05:28 +00:00
tempfile = { workspace = true }
time = { workspace = true , features = [ "local-offset" ] }
2020-04-15 20:14:39 +00:00
unindent = "0.1"
2023-02-11 14:05:28 +00:00
uucore = { workspace = true , features = [ "entries" , "process" , "signals" ] }
walkdir = { workspace = true }
2023-02-21 20:52:18 +00:00
is-terminal = { workspace = true }
2023-03-24 15:07:45 +00:00
hex-literal = "0.3.4"
2022-12-11 21:17:03 +00:00
rstest = "0.16.0"
2015-07-31 22:49:14 +00:00
2022-02-09 18:08:28 +00:00
[ target . 'cfg(any(target_os = "linux", target_os = "android"))' . dev-dependencies ]
2023-03-12 13:08:19 +00:00
procfs = { version = "0.15" , default-features = false }
2023-01-30 07:53:28 +00:00
rlimit = "0.9.1"
2021-09-13 18:09:13 +00:00
[ target . 'cfg(unix)' . dev-dependencies ]
2023-02-11 14:05:28 +00:00
nix = { workspace = true , features = [ "process" , "signal" , "user" ] }
2022-05-30 12:23:17 +00:00
rust-users = { version = "0.11" , package = "users" }
2022-09-12 16:54:49 +00:00
rand_pcg = "0.3"
2017-01-08 05:16:32 +00:00
2022-01-30 09:56:44 +00:00
[ build-dependencies ]
2023-02-11 14:05:28 +00:00
phf_codegen = { workspace = true }
2022-01-30 09:56:44 +00:00
2015-07-31 22:49:14 +00:00
[ [ bin ] ]
2020-05-24 23:14:37 +00:00
name = "coreutils"
path = "src/bin/coreutils.rs"
2022-01-20 14:00:16 +00:00
[ [ bin ] ]
name = "uudoc"
path = "src/bin/uudoc.rs"
2022-04-24 21:18:04 +00:00
required-features = [ "uudoc" ]
2023-03-06 20:52:52 +00:00
# The default release profile. It contains all optimizations, without
# sacrificing debug info. With this profile (like in the standard
# release profile), the debug info and the stack traces will still be available.
[ profile . release ]
lto = true
# A release-like profile that is tuned to be fast, even when being fast
# compromises on binary size. This includes aborting on panic.
[ profile . release-fast ]
inherits = "release"
panic = "abort"
# A release-like profile that is as small as possible.
[ profile . release-small ]
inherits = "release"
opt-level = "z"
panic = "abort"
strip = true