# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.70.0" name = "coreutils" version = "0.0.28" authors = ["uutils developers"] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false default-run = "coreutils" description = "coreutils ~ GNU coreutils (updated); implemented as universal (cross-platform) utils, written in Rust" homepage = "https://github.com/uutils/coreutils" readme = "README.md" keywords = [ "coreutils", "uutils", "cross-platform", "cli", "utility", ] categories = ["command-line-utilities"] license = "MIT" repository = "https://github.com/uutils/coreutils" [package.metadata.docs.rs] all-features = true [profile.release] lto = true [profile.release-fast] panic = "abort" inherits = "release" [profile.release-small] opt-level = "z" panic = "abort" inherits = "release" strip = true [[bin]] name = "coreutils" path = "src/bin/coreutils.rs" [[bin]] name = "uudoc" path = "src/bin/uudoc.rs" required-features = ["uudoc"] [[test]] name = "test_util_name" path = "tests/test_util_name.rs" [[test]] name = "tests" path = "tests/tests.rs" [dependencies.arch] version = "0.0.28" optional = true package = "uu_arch" [dependencies.base32] version = "0.0.28" optional = true package = "uu_base32" [dependencies.base64] version = "0.0.28" optional = true package = "uu_base64" [dependencies.basename] version = "0.0.28" optional = true package = "uu_basename" [dependencies.basenc] version = "0.0.28" optional = true package = "uu_basenc" [dependencies.cat] version = "0.0.28" optional = true package = "uu_cat" [dependencies.chcon] version = "0.0.28" optional = true package = "uu_chcon" [dependencies.chgrp] version = "0.0.28" optional = true package = "uu_chgrp" [dependencies.chmod] version = "0.0.28" optional = true package = "uu_chmod" [dependencies.chown] version = "0.0.28" optional = true package = "uu_chown" [dependencies.chroot] version = "0.0.28" optional = true package = "uu_chroot" [dependencies.cksum] version = "0.0.28" optional = true package = "uu_cksum" [dependencies.clap] version = "4.4" features = [ "wrap_help", "cargo", ] [dependencies.clap_complete] version = "4.4" [dependencies.clap_mangen] version = "0.2" [dependencies.comm] version = "0.0.28" optional = true package = "uu_comm" [dependencies.cp] version = "0.0.28" optional = true package = "uu_cp" [dependencies.csplit] version = "0.0.28" optional = true package = "uu_csplit" [dependencies.cut] version = "0.0.28" optional = true package = "uu_cut" [dependencies.date] version = "0.0.28" optional = true package = "uu_date" [dependencies.dd] version = "0.0.28" optional = true package = "uu_dd" [dependencies.df] version = "0.0.28" optional = true package = "uu_df" [dependencies.dir] version = "0.0.28" optional = true package = "uu_dir" [dependencies.dircolors] version = "0.0.28" optional = true package = "uu_dircolors" [dependencies.dirname] version = "0.0.28" optional = true package = "uu_dirname" [dependencies.du] version = "0.0.28" optional = true package = "uu_du" [dependencies.echo] version = "0.0.28" optional = true package = "uu_echo" [dependencies.env] version = "0.0.28" optional = true package = "uu_env" [dependencies.expand] version = "0.0.28" optional = true package = "uu_expand" [dependencies.expr] version = "0.0.28" optional = true package = "uu_expr" [dependencies.factor] version = "0.0.28" optional = true package = "uu_factor" [dependencies.false] version = "0.0.28" optional = true package = "uu_false" [dependencies.fmt] version = "0.0.28" optional = true package = "uu_fmt" [dependencies.fold] version = "0.0.28" optional = true package = "uu_fold" [dependencies.groups] version = "0.0.28" optional = true package = "uu_groups" [dependencies.hashsum] version = "0.0.28" optional = true package = "uu_hashsum" [dependencies.head] version = "0.0.28" optional = true package = "uu_head" [dependencies.hostid] version = "0.0.28" optional = true package = "uu_hostid" [dependencies.hostname] version = "0.0.28" optional = true package = "uu_hostname" [dependencies.id] version = "0.0.28" optional = true package = "uu_id" [dependencies.install] version = "0.0.28" optional = true package = "uu_install" [dependencies.join] version = "0.0.28" optional = true package = "uu_join" [dependencies.kill] version = "0.0.28" optional = true package = "uu_kill" [dependencies.link] version = "0.0.28" optional = true package = "uu_link" [dependencies.ln] version = "0.0.28" optional = true package = "uu_ln" [dependencies.logname] version = "0.0.28" optional = true package = "uu_logname" [dependencies.ls] version = "0.0.28" optional = true package = "uu_ls" [dependencies.mkdir] version = "0.0.28" optional = true package = "uu_mkdir" [dependencies.mkfifo] version = "0.0.28" optional = true package = "uu_mkfifo" [dependencies.mknod] version = "0.0.28" optional = true package = "uu_mknod" [dependencies.mktemp] version = "0.0.28" optional = true package = "uu_mktemp" [dependencies.more] version = "0.0.28" optional = true package = "uu_more" [dependencies.mv] version = "0.0.28" optional = true package = "uu_mv" [dependencies.nice] version = "0.0.28" optional = true package = "uu_nice" [dependencies.nl] version = "0.0.28" optional = true package = "uu_nl" [dependencies.nohup] version = "0.0.28" optional = true package = "uu_nohup" [dependencies.nproc] version = "0.0.28" optional = true package = "uu_nproc" [dependencies.numfmt] version = "0.0.28" optional = true package = "uu_numfmt" [dependencies.od] version = "0.0.28" optional = true package = "uu_od" [dependencies.once_cell] version = "1.19.0" [dependencies.paste] version = "0.0.28" optional = true package = "uu_paste" [dependencies.pathchk] version = "0.0.28" optional = true package = "uu_pathchk" [dependencies.phf] version = "0.11.2" [dependencies.pinky] version = "0.0.28" optional = true package = "uu_pinky" [dependencies.pr] version = "0.0.28" optional = true package = "uu_pr" [dependencies.printenv] version = "0.0.28" optional = true package = "uu_printenv" [dependencies.printf] version = "0.0.28" optional = true package = "uu_printf" [dependencies.ptx] version = "0.0.28" optional = true package = "uu_ptx" [dependencies.pwd] version = "0.0.28" optional = true package = "uu_pwd" [dependencies.readlink] version = "0.0.28" optional = true package = "uu_readlink" [dependencies.realpath] version = "0.0.28" optional = true package = "uu_realpath" [dependencies.rm] version = "0.0.28" optional = true package = "uu_rm" [dependencies.rmdir] version = "0.0.28" optional = true package = "uu_rmdir" [dependencies.runcon] version = "0.0.28" optional = true package = "uu_runcon" [dependencies.selinux] version = "0.4.4" optional = true [dependencies.seq] version = "0.0.28" optional = true package = "uu_seq" [dependencies.shred] version = "0.0.28" optional = true package = "uu_shred" [dependencies.shuf] version = "0.0.28" optional = true package = "uu_shuf" [dependencies.sleep] version = "0.0.28" optional = true package = "uu_sleep" [dependencies.sort] version = "0.0.28" optional = true package = "uu_sort" [dependencies.split] version = "0.0.28" optional = true package = "uu_split" [dependencies.stat] version = "0.0.28" optional = true package = "uu_stat" [dependencies.stdbuf] version = "0.0.28" optional = true package = "uu_stdbuf" [dependencies.stty] version = "0.0.28" optional = true package = "uu_stty" [dependencies.sum] version = "0.0.28" optional = true package = "uu_sum" [dependencies.sync] version = "0.0.28" optional = true package = "uu_sync" [dependencies.tac] version = "0.0.28" optional = true package = "uu_tac" [dependencies.tail] version = "0.0.28" optional = true package = "uu_tail" [dependencies.tee] version = "0.0.28" optional = true package = "uu_tee" [dependencies.textwrap] version = "0.16.1" features = ["terminal_size"] [dependencies.timeout] version = "0.0.28" optional = true package = "uu_timeout" [dependencies.touch] version = "0.0.28" optional = true package = "uu_touch" [dependencies.tr] version = "0.0.28" optional = true package = "uu_tr" [dependencies.true] version = "0.0.28" optional = true package = "uu_true" [dependencies.truncate] version = "0.0.28" optional = true package = "uu_truncate" [dependencies.tsort] version = "0.0.28" optional = true package = "uu_tsort" [dependencies.tty] version = "0.0.28" optional = true package = "uu_tty" [dependencies.uname] version = "0.0.28" optional = true package = "uu_uname" [dependencies.unexpand] version = "0.0.28" optional = true package = "uu_unexpand" [dependencies.uniq] version = "0.0.28" optional = true package = "uu_uniq" [dependencies.unlink] version = "0.0.28" optional = true package = "uu_unlink" [dependencies.uptime] version = "0.0.28" optional = true package = "uu_uptime" [dependencies.users] version = "0.0.28" optional = true package = "uu_users" [dependencies.uu_test] version = "0.0.28" optional = true package = "uu_test" [dependencies.uucore] version = ">=0.0.19" package = "uucore" [dependencies.uuhelp_parser] version = ">=0.0.19" optional = true [dependencies.vdir] version = "0.0.28" optional = true package = "uu_vdir" [dependencies.wc] version = "0.0.28" optional = true package = "uu_wc" [dependencies.who] version = "0.0.28" optional = true package = "uu_who" [dependencies.whoami] version = "0.0.28" optional = true package = "uu_whoami" [dependencies.yes] version = "0.0.28" optional = true package = "uu_yes" [dependencies.zip] version = "1.1.4" features = ["deflate"] optional = true default-features = false [dev-dependencies.chrono] version = "0.4.38" features = [ "std", "alloc", "clock", ] default-features = false [dev-dependencies.filetime] version = "0.2.23" [dev-dependencies.glob] version = "0.3.1" [dev-dependencies.hex-literal] version = "0.4.1" [dev-dependencies.libc] version = "0.2.153" [dev-dependencies.num-prime] version = "0.4.4" [dev-dependencies.pretty_assertions] version = "1.4.0" [dev-dependencies.rand] version = "0.8.5" features = ["small_rng"] [dev-dependencies.regex] version = "1.10.4" [dev-dependencies.rstest] version = "0.23.0" [dev-dependencies.sha1] version = "0.10.6" features = ["std"] [dev-dependencies.tempfile] version = "3.10.1" [dev-dependencies.time] version = "0.3.36" features = ["local-offset"] [dev-dependencies.unindent] version = "0.2.3" [dev-dependencies.uucore] version = ">=0.0.19" features = [ "mode", "entries", "process", "signals", "utmpx", ] package = "uucore" [dev-dependencies.walkdir] version = "2.5" [build-dependencies.phf_codegen] version = "0.11.2" [features] default = ["feat_common_core"] expensive_tests = [] feat_Tier1 = [ "feat_common_core", "arch", "hostname", "nproc", "sync", "touch", "uname", "whoami", ] feat_acl = ["cp/feat_acl"] 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", "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_os_macos = [ "feat_os_unix", "feat_require_unix_hostid", ] feat_os_unix = [ "feat_Tier1", "feat_require_crate_cpp", "feat_require_unix", "feat_require_unix_utmpx", "feat_require_unix_hostid", ] feat_os_unix_android = [ "feat_Tier1", "feat_require_unix", ] 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_os_unix_gnueabihf = [ "feat_Tier1", "feat_require_unix", "feat_require_unix_hostid", "feat_require_unix_utmpx", ] feat_os_unix_musl = [ "feat_Tier1", "feat_require_unix", "feat_require_unix_hostid", ] feat_os_unix_redox = [ "feat_common_core", "chmod", "stat", "uname", ] feat_os_windows = ["feat_Tier1"] feat_os_windows_legacy = [ "feat_common_core", "arch", "nproc", "sync", "touch", "whoami", ] feat_require_crate_cpp = ["stdbuf"] feat_require_selinux = [ "chcon", "runcon", ] feat_require_unix = [ "chgrp", "chmod", "chown", "chroot", "groups", "id", "install", "kill", "logname", "mkfifo", "mknod", "nice", "nohup", "pathchk", "stat", "stty", "timeout", "tty", ] feat_require_unix_hostid = ["hostid"] feat_require_unix_utmpx = [ "pinky", "uptime", "users", "who", ] feat_selinux = [ "cp/selinux", "id/selinux", "ls/selinux", "selinux", "feat_require_selinux", ] macos = ["feat_os_macos"] nightly = [] test = ["uu_test"] test_unimplemented = [] unix = ["feat_os_unix"] uudoc = [ "zip", "dep:uuhelp_parser", ] windows = ["feat_os_windows"] [target.'cfg(all(target_family= "unix",not(target_os = "macos")))'.dev-dependencies.bincode] version = "1.3.3" [target.'cfg(all(target_family= "unix",not(target_os = "macos")))'.dev-dependencies.serde] version = "1.0.202" features = ["derive"] [target.'cfg(all(target_family= "unix",not(target_os = "macos")))'.dev-dependencies.serde-big-array] version = "0.5.1" [target.'cfg(any(target_os = "linux", target_os = "android"))'.dev-dependencies.procfs] version = "0.17" default-features = false [target."cfg(unix)".dev-dependencies.nix] version = "0.29" features = [ "process", "signal", "user", "term", ] default-features = false [target."cfg(unix)".dev-dependencies.rand_pcg] version = "0.3.1" [target."cfg(unix)".dev-dependencies.rlimit] version = "0.10.1" [target."cfg(unix)".dev-dependencies.xattr] version = "1.3.1" [lints.clippy] cargo_common_metadata = "allow" explicit_iter_loop = "warn" if_not_else = "warn" missing_panics_doc = "allow" multiple_crate_versions = "allow" needless_pass_by_value = "warn" semicolon_if_nothing_returned = "warn" single_char_pattern = "warn" uninlined_format_args = "allow" use_self = "warn" [lints.clippy.all] level = "deny" priority = -1 [lints.clippy.cargo] level = "warn" priority = -1 [lints.clippy.pedantic] level = "deny" priority = -1