mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
Merge pull request #1053 from millerjs/pin-dependencies
pin dependencies
This commit is contained in:
commit
f331412ab0
86 changed files with 466 additions and 368 deletions
445
Cargo.lock
generated
445
Cargo.lock
generated
File diff suppressed because it is too large
Load diff
18
Cargo.toml
18
Cargo.toml
|
@ -238,17 +238,17 @@ whoami = { optional=true, path="src/whoami" }
|
||||||
yes = { optional=true, path="src/yes" }
|
yes = { optional=true, path="src/yes" }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
time = "*"
|
time = "0.1.38"
|
||||||
filetime = "*"
|
filetime = "0.1.10"
|
||||||
libc = "*"
|
libc = "0.2.26"
|
||||||
regex="*"
|
regex = "0.1.80"
|
||||||
rand="*"
|
rand = "0.3.15"
|
||||||
tempdir="*"
|
tempdir = "0.3.5"
|
||||||
unindent="*"
|
unindent = "0.1.0"
|
||||||
lazy_static = "*"
|
lazy_static = "0.2.2"
|
||||||
|
|
||||||
[target.'cfg(unix)'.dev-dependencies]
|
[target.'cfg(unix)'.dev-dependencies]
|
||||||
unix_socket = "*"
|
unix_socket = "0.5.0"
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
name = "uutils"
|
name = "uutils"
|
||||||
|
|
|
@ -11,7 +11,7 @@ path = "base32.rs"
|
||||||
uucore = { path="../uucore" }
|
uucore = { path="../uucore" }
|
||||||
|
|
||||||
[dependencies.clippy]
|
[dependencies.clippy]
|
||||||
version = "*"
|
version = "0.0.143"
|
||||||
optional = true
|
optional = true
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
|
|
@ -8,7 +8,7 @@ name = "uu_chgrp"
|
||||||
path = "chgrp.rs"
|
path = "chgrp.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
walkdir = "*"
|
walkdir = "1.0.7"
|
||||||
|
|
||||||
[dependencies.uucore]
|
[dependencies.uucore]
|
||||||
path = "../uucore"
|
path = "../uucore"
|
||||||
|
|
|
@ -8,9 +8,9 @@ name = "uu_chmod"
|
||||||
path = "chmod.rs"
|
path = "chmod.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
libc = "*"
|
libc = "0.2.26"
|
||||||
uucore = { path="../uucore" }
|
uucore = { path="../uucore" }
|
||||||
walker = "*"
|
walker = "1.0.0"
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
name = "chmod"
|
name = "chmod"
|
||||||
|
|
|
@ -8,7 +8,7 @@ name = "uu_chown"
|
||||||
path = "chown.rs"
|
path = "chown.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
glob = "*"
|
glob = "0.2.11"
|
||||||
walkdir = "0.1"
|
walkdir = "0.1"
|
||||||
|
|
||||||
[dependencies.uucore]
|
[dependencies.uucore]
|
||||||
|
@ -17,7 +17,7 @@ default-features = false
|
||||||
features = ["entries", "fs"]
|
features = ["entries", "fs"]
|
||||||
|
|
||||||
[dependencies.clippy]
|
[dependencies.clippy]
|
||||||
version = "*"
|
version = "0.0.143"
|
||||||
optional = true
|
optional = true
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
|
|
@ -8,7 +8,7 @@ name = "uu_chroot"
|
||||||
path = "chroot.rs"
|
path = "chroot.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
getopts = "*"
|
getopts = "0.2.14"
|
||||||
|
|
||||||
[dependencies.uucore]
|
[dependencies.uucore]
|
||||||
path = "../uucore"
|
path = "../uucore"
|
||||||
|
|
|
@ -8,7 +8,7 @@ name = "uu_cksum"
|
||||||
path = "cksum.rs"
|
path = "cksum.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
libc = "*"
|
libc = "0.2.26"
|
||||||
uucore = { path="../uucore" }
|
uucore = { path="../uucore" }
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
|
|
@ -8,8 +8,8 @@ name = "uu_comm"
|
||||||
path = "comm.rs"
|
path = "comm.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
libc = "*"
|
libc = "0.2.26"
|
||||||
getopts = "*"
|
getopts = "0.2.14"
|
||||||
uucore = { path="../uucore" }
|
uucore = { path="../uucore" }
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
|
|
@ -8,10 +8,10 @@ name = "uu_cp"
|
||||||
path = "cp.rs"
|
path = "cp.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
getopts = "*"
|
getopts = "0.2.14"
|
||||||
libc = "*"
|
libc = "0.2.26"
|
||||||
uucore = { path="../uucore" }
|
uucore = { path="../uucore" }
|
||||||
walkdir = "*"
|
walkdir = "1.0.7"
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
name = "cp"
|
name = "cp"
|
||||||
|
|
|
@ -8,8 +8,8 @@ name = "uu_date"
|
||||||
path = "date.rs"
|
path = "date.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
chrono = "*"
|
chrono = "0.3.0"
|
||||||
clap = "*"
|
clap = "2.24.1"
|
||||||
uucore = { path="../uucore" }
|
uucore = { path="../uucore" }
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
extern crate uu_echo;
|
extern crate uu_date;
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
std::process::exit(uu_date::uumain(std::env::args().collect()));
|
std::process::exit(uu_date::uumain(std::env::args().collect()));
|
||||||
|
|
|
@ -8,7 +8,7 @@ name = "uu_dircolors"
|
||||||
path = "dircolors.rs"
|
path = "dircolors.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
glob = "*"
|
glob = "0.2.11"
|
||||||
uucore = { path="../uucore" }
|
uucore = { path="../uucore" }
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
|
|
@ -8,7 +8,7 @@ name = "uu_dirname"
|
||||||
path = "dirname.rs"
|
path = "dirname.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
libc = "*"
|
libc = "0.2.26"
|
||||||
uucore = { path="../uucore" }
|
uucore = { path="../uucore" }
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
|
|
@ -8,7 +8,7 @@ name = "uu_du"
|
||||||
path = "du.rs"
|
path = "du.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
time = "*"
|
time = "0.1.38"
|
||||||
uucore = { path="../uucore" }
|
uucore = { path="../uucore" }
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
|
2
src/env/Cargo.toml
vendored
2
src/env/Cargo.toml
vendored
|
@ -8,7 +8,7 @@ name = "uu_env"
|
||||||
path = "env.rs"
|
path = "env.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
libc = "*"
|
libc = "0.2.26"
|
||||||
uucore = { path="../uucore" }
|
uucore = { path="../uucore" }
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
|
|
@ -8,8 +8,8 @@ name = "uu_expand"
|
||||||
path = "expand.rs"
|
path = "expand.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
unicode-width = "*"
|
unicode-width = "0.1.4"
|
||||||
getopts = "*"
|
getopts = "0.2.14"
|
||||||
uucore = { path="../uucore" }
|
uucore = { path="../uucore" }
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
|
|
@ -8,7 +8,7 @@ name = "uu_expr"
|
||||||
path = "expr.rs"
|
path = "expr.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
libc = "*"
|
libc = "0.2.26"
|
||||||
uucore = { path="../uucore" }
|
uucore = { path="../uucore" }
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
|
|
@ -8,7 +8,7 @@ name = "uu_factor"
|
||||||
path = "factor.rs"
|
path = "factor.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
rand = "*"
|
rand = "0.3.15"
|
||||||
uucore = { path="../uucore" }
|
uucore = { path="../uucore" }
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
|
|
@ -8,8 +8,8 @@ name = "uu_fmt"
|
||||||
path = "fmt.rs"
|
path = "fmt.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
libc = "*"
|
libc = "0.2.26"
|
||||||
unicode-width = "*"
|
unicode-width = "0.1.4"
|
||||||
uucore = { path="../uucore" }
|
uucore = { path="../uucore" }
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
|
|
@ -8,12 +8,12 @@ name = "uu_hashsum"
|
||||||
path = "hashsum.rs"
|
path = "hashsum.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
getopts = "*"
|
getopts = "0.2.14"
|
||||||
libc = "*"
|
libc = "0.2.26"
|
||||||
regex = "*"
|
regex = "0.1.80"
|
||||||
regex-syntax = "*"
|
regex-syntax = "0.4.1"
|
||||||
rust-crypto = "*"
|
rust-crypto = "0.2.36"
|
||||||
rustc-serialize = "*"
|
rustc-serialize = "0.3.24"
|
||||||
uucore = { path="../uucore" }
|
uucore = { path="../uucore" }
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
|
|
@ -8,7 +8,7 @@ name = "uu_head"
|
||||||
path = "head.rs"
|
path = "head.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
libc = "*"
|
libc = "0.2.26"
|
||||||
uucore = { path="../uucore" }
|
uucore = { path="../uucore" }
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
|
|
@ -8,7 +8,7 @@ name = "uu_hostid"
|
||||||
path = "hostid.rs"
|
path = "hostid.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
libc = "*"
|
libc = "0.2.26"
|
||||||
uucore = { path="../uucore" }
|
uucore = { path="../uucore" }
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
|
|
@ -8,7 +8,7 @@ name = "uu_hostname"
|
||||||
path = "hostname.rs"
|
path = "hostname.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
libc = "*"
|
libc = "0.2.26"
|
||||||
uucore = { path="../uucore" }
|
uucore = { path="../uucore" }
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
|
|
@ -8,12 +8,12 @@ name = "uu_install"
|
||||||
path = "install.rs"
|
path = "install.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
getopts = "*"
|
getopts = "0.2.14"
|
||||||
libc = ">= 0.2"
|
libc = ">= 0.2"
|
||||||
uucore = { path="../uucore" }
|
uucore = { path="../uucore" }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
time = "*"
|
time = "0.1.38"
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
name = "install"
|
name = "install"
|
||||||
|
|
|
@ -8,7 +8,7 @@ name = "uu_kill"
|
||||||
path = "kill.rs"
|
path = "kill.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
libc = "*"
|
libc = "0.2.26"
|
||||||
uucore = { path="../uucore" }
|
uucore = { path="../uucore" }
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
|
|
@ -8,7 +8,7 @@ name = "uu_link"
|
||||||
path = "link.rs"
|
path = "link.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
libc = "*"
|
libc = "0.2.26"
|
||||||
uucore = { path="../uucore" }
|
uucore = { path="../uucore" }
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
|
|
@ -8,7 +8,7 @@ name = "uu_ln"
|
||||||
path = "ln.rs"
|
path = "ln.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
libc = "*"
|
libc = "0.2.26"
|
||||||
uucore = { path="../uucore" }
|
uucore = { path="../uucore" }
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
|
|
@ -8,7 +8,7 @@ name = "uu_logname"
|
||||||
path = "logname.rs"
|
path = "logname.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
libc = "*"
|
libc = "0.2.26"
|
||||||
uucore = { path="../uucore" }
|
uucore = { path="../uucore" }
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
|
|
@ -8,13 +8,13 @@ name = "uu_ls"
|
||||||
path = "ls.rs"
|
path = "ls.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
getopts = "*"
|
getopts = "0.2.14"
|
||||||
pretty-bytes = "*"
|
pretty-bytes = "0.2.1"
|
||||||
term_grid = "*"
|
term_grid = "0.1.5"
|
||||||
termsize = "*"
|
termsize = "0.1.4"
|
||||||
time = "*"
|
time = "0.1.38"
|
||||||
lazy_static = "*"
|
lazy_static = "0.2.8"
|
||||||
unicode-width = "*"
|
unicode-width = "0.1.4"
|
||||||
|
|
||||||
[dependencies.uucore]
|
[dependencies.uucore]
|
||||||
path = "../uucore"
|
path = "../uucore"
|
||||||
|
|
|
@ -8,8 +8,8 @@ name = "uu_mkdir"
|
||||||
path = "mkdir.rs"
|
path = "mkdir.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
getopts = "*"
|
getopts = "0.2.14"
|
||||||
libc = "*"
|
libc = "0.2.26"
|
||||||
uucore = { path="../uucore" }
|
uucore = { path="../uucore" }
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
|
|
@ -8,8 +8,8 @@ name = "uu_mkfifo"
|
||||||
path = "mkfifo.rs"
|
path = "mkfifo.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
getopts = "*"
|
getopts = "0.2.14"
|
||||||
libc = "*"
|
libc = "0.2.26"
|
||||||
uucore = { path="../uucore" }
|
uucore = { path="../uucore" }
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
|
|
@ -8,7 +8,7 @@ name = "uu_mknod"
|
||||||
path = "mknod.rs"
|
path = "mknod.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
getopts = "*"
|
getopts = "0.2.14"
|
||||||
libc = "^0.2.4"
|
libc = "^0.2.4"
|
||||||
uucore = { path="../uucore" }
|
uucore = { path="../uucore" }
|
||||||
|
|
||||||
|
|
|
@ -9,9 +9,9 @@ path = "mktemp.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
uucore = { path="../uucore" }
|
uucore = { path="../uucore" }
|
||||||
getopts = "*"
|
getopts = "0.2.14"
|
||||||
rand = "0.3"
|
rand = "0.3"
|
||||||
tempfile = "*"
|
tempfile = "2.1.5"
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
name = "mktemp"
|
name = "mktemp"
|
||||||
|
|
|
@ -8,11 +8,11 @@ name = "uu_more"
|
||||||
path = "more.rs"
|
path = "more.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
getopts = "*"
|
getopts = "0.2.14"
|
||||||
uucore = { path="../uucore" }
|
uucore = { path="../uucore" }
|
||||||
|
|
||||||
[target.'cfg(all(unix, not(target_os = "fuchsia")))'.dependencies]
|
[target.'cfg(all(unix, not(target_os = "fuchsia")))'.dependencies]
|
||||||
nix = "*"
|
nix = "0.8.1"
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
name = "more"
|
name = "more"
|
||||||
|
|
|
@ -8,7 +8,7 @@ name = "uu_mv"
|
||||||
path = "mv.rs"
|
path = "mv.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
getopts = "*"
|
getopts = "0.2.14"
|
||||||
uucore = { path="../uucore" }
|
uucore = { path="../uucore" }
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
|
|
@ -8,8 +8,8 @@ name = "uu_nice"
|
||||||
path = "nice.rs"
|
path = "nice.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
getopts = "*"
|
getopts = "0.2.14"
|
||||||
libc = "*"
|
libc = "0.2.26"
|
||||||
uucore = { path="../uucore" }
|
uucore = { path="../uucore" }
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
|
|
@ -8,12 +8,12 @@ name = "uu_nl"
|
||||||
path = "nl.rs"
|
path = "nl.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
getopts = "*"
|
getopts = "0.2.14"
|
||||||
libc = "*"
|
libc = "0.2.26"
|
||||||
aho-corasick = "*"
|
aho-corasick = "0.6.3"
|
||||||
memchr = "*"
|
memchr = "1.0.1"
|
||||||
regex = "*"
|
regex = "0.2.2"
|
||||||
regex-syntax = "*"
|
regex-syntax = "0.4.1"
|
||||||
uucore = { path="../uucore" }
|
uucore = { path="../uucore" }
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
|
|
@ -8,8 +8,8 @@ name = "uu_nohup"
|
||||||
path = "nohup.rs"
|
path = "nohup.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
getopts = "*"
|
getopts = "0.2.14"
|
||||||
libc = "*"
|
libc = "0.2.26"
|
||||||
uucore = { path="../uucore" }
|
uucore = { path="../uucore" }
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
|
|
@ -8,8 +8,8 @@ name = "uu_nproc"
|
||||||
path = "nproc.rs"
|
path = "nproc.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
getopts = "*"
|
getopts = "0.2.14"
|
||||||
libc = "*"
|
libc = "0.2.26"
|
||||||
num_cpus = "1.5"
|
num_cpus = "1.5"
|
||||||
uucore = { path="../uucore" }
|
uucore = { path="../uucore" }
|
||||||
|
|
||||||
|
|
|
@ -8,10 +8,10 @@ name = "uu_od"
|
||||||
path = "od.rs"
|
path = "od.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
getopts = "*"
|
getopts = "0.2.14"
|
||||||
libc = "*"
|
libc = "0.2.26"
|
||||||
byteorder = "*"
|
byteorder = "1.1.0"
|
||||||
half = "*"
|
half = "1.0.0"
|
||||||
uucore = { path="../uucore" }
|
uucore = { path="../uucore" }
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
|
|
@ -8,7 +8,7 @@ name = "uu_paste"
|
||||||
path = "paste.rs"
|
path = "paste.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
getopts = "*"
|
getopts = "0.2.14"
|
||||||
uucore = { path="../uucore" }
|
uucore = { path="../uucore" }
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
|
|
@ -8,8 +8,8 @@ name = "uu_pathchk"
|
||||||
path = "pathchk.rs"
|
path = "pathchk.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
getopts = "*"
|
getopts = "0.2.14"
|
||||||
libc = "*"
|
libc = "0.2.26"
|
||||||
uucore = { path="../uucore" }
|
uucore = { path="../uucore" }
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
|
|
@ -8,7 +8,7 @@ name = "uu_printenv"
|
||||||
path = "printenv.rs"
|
path = "printenv.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
getopts = "*"
|
getopts = "0.2.14"
|
||||||
uucore = { path="../uucore" }
|
uucore = { path="../uucore" }
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
|
|
@ -8,7 +8,7 @@ name = "uu_printf"
|
||||||
path = "printf.rs"
|
path = "printf.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
"itertools" = "*"
|
"itertools" = "0.6.0"
|
||||||
uucore = { path="../uucore" }
|
uucore = { path="../uucore" }
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
|
|
@ -3,13 +3,12 @@
|
||||||
#![allow(dead_code)]
|
#![allow(dead_code)]
|
||||||
|
|
||||||
extern crate itertools;
|
extern crate itertools;
|
||||||
|
extern crate uucore;
|
||||||
|
|
||||||
mod cli;
|
mod cli;
|
||||||
mod memo;
|
mod memo;
|
||||||
mod tokenize;
|
mod tokenize;
|
||||||
|
|
||||||
#[macro_use]
|
|
||||||
extern crate uucore;
|
|
||||||
|
|
||||||
static NAME: &'static str = "printf";
|
static NAME: &'static str = "printf";
|
||||||
static VERSION: &'static str = "0.0.1";
|
static VERSION: &'static str = "0.0.1";
|
||||||
|
|
|
@ -8,12 +8,12 @@ name = "uu_ptx"
|
||||||
path = "ptx.rs"
|
path = "ptx.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
getopts = "*"
|
getopts = "0.2.14"
|
||||||
libc = "*"
|
libc = "0.2.26"
|
||||||
aho-corasick = "*"
|
aho-corasick = "0.6.3"
|
||||||
memchr = "*"
|
memchr = "1.0.1"
|
||||||
regex-syntax = "*"
|
regex-syntax = "0.4.1"
|
||||||
regex = "*"
|
regex = "0.1.80"
|
||||||
uucore = { path="../uucore" }
|
uucore = { path="../uucore" }
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
|
|
@ -8,7 +8,7 @@ name = "uu_pwd"
|
||||||
path = "pwd.rs"
|
path = "pwd.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
getopts = "*"
|
getopts = "0.2.14"
|
||||||
uucore = { path="../uucore" }
|
uucore = { path="../uucore" }
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
|
|
@ -8,8 +8,8 @@ name = "uu_readlink"
|
||||||
path = "readlink.rs"
|
path = "readlink.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
getopts = "*"
|
getopts = "0.2.14"
|
||||||
libc = "*"
|
libc = "0.2.26"
|
||||||
uucore = { path="../uucore" }
|
uucore = { path="../uucore" }
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
|
|
@ -8,7 +8,7 @@ name = "uu_realpath"
|
||||||
path = "realpath.rs"
|
path = "realpath.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
getopts = "*"
|
getopts = "0.2.14"
|
||||||
uucore = { path="../uucore" }
|
uucore = { path="../uucore" }
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
|
|
@ -8,7 +8,7 @@ name = "uu_relpath"
|
||||||
path = "relpath.rs"
|
path = "relpath.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
getopts = "*"
|
getopts = "0.2.14"
|
||||||
uucore = { path="../uucore" }
|
uucore = { path="../uucore" }
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
|
|
@ -8,7 +8,7 @@ name = "uu_rm"
|
||||||
path = "rm.rs"
|
path = "rm.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
getopts = "*"
|
getopts = "0.2.14"
|
||||||
uucore = { path="../uucore" }
|
uucore = { path="../uucore" }
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
|
|
@ -8,7 +8,7 @@ name = "uu_rmdir"
|
||||||
path = "rmdir.rs"
|
path = "rmdir.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
getopts = "*"
|
getopts = "0.2.14"
|
||||||
uucore = { path="../uucore" }
|
uucore = { path="../uucore" }
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
|
|
@ -8,7 +8,7 @@ name = "uu_seq"
|
||||||
path = "seq.rs"
|
path = "seq.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
getopts = "*"
|
getopts = "0.2.14"
|
||||||
uucore = { path="../uucore" }
|
uucore = { path="../uucore" }
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
|
|
@ -9,10 +9,10 @@ path = "shred.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
rand = "0.3"
|
rand = "0.3"
|
||||||
filetime = "*"
|
filetime = "0.1.10"
|
||||||
getopts = "*"
|
getopts = "0.2.14"
|
||||||
libc = "*"
|
libc = "0.2.26"
|
||||||
time = "*"
|
time = "0.1.38"
|
||||||
uucore = { path="../uucore" }
|
uucore = { path="../uucore" }
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
|
|
@ -8,8 +8,8 @@ name = "uu_shuf"
|
||||||
path = "shuf.rs"
|
path = "shuf.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
getopts = "*"
|
getopts = "0.2.14"
|
||||||
rand = "*"
|
rand = "0.3.15"
|
||||||
uucore = { path="../uucore" }
|
uucore = { path="../uucore" }
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
|
|
@ -8,7 +8,7 @@ name = "uu_sleep"
|
||||||
path = "sleep.rs"
|
path = "sleep.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
getopts = "*"
|
getopts = "0.2.14"
|
||||||
uucore = { path="../uucore" }
|
uucore = { path="../uucore" }
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
|
|
@ -8,9 +8,9 @@ name = "uu_sort"
|
||||||
path = "sort.rs"
|
path = "sort.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
getopts = "*"
|
getopts = "0.2.14"
|
||||||
semver = "*"
|
semver = "0.7.0"
|
||||||
itertools = "*"
|
itertools = "0.6.0"
|
||||||
uucore = { path="../uucore" }
|
uucore = { path="../uucore" }
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
|
|
@ -16,7 +16,6 @@ extern crate semver;
|
||||||
|
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
extern crate uucore;
|
extern crate uucore;
|
||||||
#[macro_use]
|
|
||||||
extern crate itertools;
|
extern crate itertools;
|
||||||
|
|
||||||
use std::cmp::Ordering;
|
use std::cmp::Ordering;
|
||||||
|
|
|
@ -8,7 +8,7 @@ name = "uu_split"
|
||||||
path = "split.rs"
|
path = "split.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
getopts = "*"
|
getopts = "0.2.14"
|
||||||
uucore = { path="../uucore" }
|
uucore = { path="../uucore" }
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
|
|
@ -8,8 +8,8 @@ name = "uu_stat"
|
||||||
path = "stat.rs"
|
path = "stat.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
getopts = "*"
|
getopts = "0.2.14"
|
||||||
time = "*"
|
time = "0.1.38"
|
||||||
|
|
||||||
[dependencies.uucore]
|
[dependencies.uucore]
|
||||||
path = "../uucore"
|
path = "../uucore"
|
||||||
|
|
|
@ -8,7 +8,7 @@ name = "uu_stdbuf"
|
||||||
path = "stdbuf.rs"
|
path = "stdbuf.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
getopts = "*"
|
getopts = "0.2.14"
|
||||||
uucore = { path="../uucore" }
|
uucore = { path="../uucore" }
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
|
|
@ -8,7 +8,7 @@ name = "uu_sum"
|
||||||
path = "sum.rs"
|
path = "sum.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
getopts = "*"
|
getopts = "0.2.14"
|
||||||
uucore = { path="../uucore" }
|
uucore = { path="../uucore" }
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
|
|
@ -8,10 +8,10 @@ name = "uu_sync"
|
||||||
path = "sync.rs"
|
path = "sync.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
getopts = "*"
|
getopts = "0.2.14"
|
||||||
libc = "*"
|
libc = "0.2.26"
|
||||||
winapi = "*"
|
winapi = "0.2.8"
|
||||||
kernel32-sys = "*"
|
kernel32-sys = "0.2.2"
|
||||||
uucore = { path="../uucore" }
|
uucore = { path="../uucore" }
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
|
|
@ -14,9 +14,13 @@
|
||||||
extern crate getopts;
|
extern crate getopts;
|
||||||
extern crate libc;
|
extern crate libc;
|
||||||
|
|
||||||
|
#[cfg(windows)]
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
extern crate uucore;
|
extern crate uucore;
|
||||||
|
|
||||||
|
#[cfg(not(windows))]
|
||||||
|
extern crate uucore;
|
||||||
|
|
||||||
static NAME: &'static str = "sync";
|
static NAME: &'static str = "sync";
|
||||||
static VERSION: &'static str = env!("CARGO_PKG_VERSION");
|
static VERSION: &'static str = env!("CARGO_PKG_VERSION");
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ name = "uu_tac"
|
||||||
path = "tac.rs"
|
path = "tac.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
getopts = "*"
|
getopts = "0.2.14"
|
||||||
uucore = { path="../uucore" }
|
uucore = { path="../uucore" }
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
|
|
@ -8,10 +8,10 @@ name = "uu_tail"
|
||||||
path = "tail.rs"
|
path = "tail.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
getopts = "*"
|
getopts = "0.2.14"
|
||||||
kernel32-sys = "*"
|
kernel32-sys = "0.2.2"
|
||||||
libc = "*"
|
libc = "0.2.26"
|
||||||
winapi = "*"
|
winapi = "0.2.8"
|
||||||
uucore = { path="../uucore" }
|
uucore = { path="../uucore" }
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
|
|
@ -8,8 +8,8 @@ name = "uu_tee"
|
||||||
path = "tee.rs"
|
path = "tee.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
getopts = "*"
|
getopts = "0.2.14"
|
||||||
libc = "*"
|
libc = "0.2.26"
|
||||||
uucore = { path="../uucore" }
|
uucore = { path="../uucore" }
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
|
|
@ -8,7 +8,7 @@ name = "uu_test"
|
||||||
path = "test.rs"
|
path = "test.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
libc = "*"
|
libc = "0.2.26"
|
||||||
uucore = { path="../uucore" }
|
uucore = { path="../uucore" }
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
|
|
@ -8,9 +8,9 @@ name = "uu_timeout"
|
||||||
path = "timeout.rs"
|
path = "timeout.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
getopts = "*"
|
getopts = "0.2.14"
|
||||||
libc = "*"
|
libc = "0.2.26"
|
||||||
time = "*"
|
time = "0.1.38"
|
||||||
uucore = { path="../uucore" }
|
uucore = { path="../uucore" }
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
|
|
@ -8,9 +8,9 @@ name = "uu_touch"
|
||||||
path = "touch.rs"
|
path = "touch.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
filetime = "*"
|
filetime = "0.1.10"
|
||||||
getopts = "*"
|
getopts = "0.2.14"
|
||||||
time = "*"
|
time = "0.1.38"
|
||||||
|
|
||||||
[dependencies.uucore]
|
[dependencies.uucore]
|
||||||
path = "../uucore"
|
path = "../uucore"
|
||||||
|
|
|
@ -8,9 +8,9 @@ name = "uu_tr"
|
||||||
path = "tr.rs"
|
path = "tr.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
getopts = "*"
|
getopts = "0.2.14"
|
||||||
bit-set = "*"
|
bit-set = "0.4.0"
|
||||||
fnv = "*"
|
fnv = "1.0.5"
|
||||||
|
|
||||||
[dependencies.uucore]
|
[dependencies.uucore]
|
||||||
path = "../uucore"
|
path = "../uucore"
|
||||||
|
|
|
@ -8,7 +8,7 @@ name = "uu_truncate"
|
||||||
path = "truncate.rs"
|
path = "truncate.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
getopts = "*"
|
getopts = "0.2.14"
|
||||||
uucore = { path="../uucore" }
|
uucore = { path="../uucore" }
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
|
|
@ -8,7 +8,7 @@ name = "uu_tsort"
|
||||||
path = "tsort.rs"
|
path = "tsort.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
getopts = "*"
|
getopts = "0.2.14"
|
||||||
uucore = { path="../uucore" }
|
uucore = { path="../uucore" }
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
|
|
@ -8,8 +8,8 @@ name = "uu_tty"
|
||||||
path = "tty.rs"
|
path = "tty.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
getopts = "*"
|
getopts = "0.2.14"
|
||||||
libc = "*"
|
libc = "0.2.26"
|
||||||
uucore = { path="../uucore" }
|
uucore = { path="../uucore" }
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
|
|
@ -8,8 +8,8 @@ name = "uu_unexpand"
|
||||||
path = "unexpand.rs"
|
path = "unexpand.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
getopts = "*"
|
getopts = "0.2.14"
|
||||||
unicode-width = "*"
|
unicode-width = "0.1.4"
|
||||||
uucore = { path="../uucore" }
|
uucore = { path="../uucore" }
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
|
|
@ -8,7 +8,7 @@ name = "uu_uniq"
|
||||||
path = "uniq.rs"
|
path = "uniq.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
getopts = "*"
|
getopts = "0.2.14"
|
||||||
|
|
||||||
[dependencies.uucore]
|
[dependencies.uucore]
|
||||||
path="../uucore"
|
path="../uucore"
|
||||||
|
|
|
@ -8,8 +8,8 @@ name = "uu_unlink"
|
||||||
path = "unlink.rs"
|
path = "unlink.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
getopts = "*"
|
getopts = "0.2.14"
|
||||||
libc = "*"
|
libc = "0.2.26"
|
||||||
uucore = { path="../uucore" }
|
uucore = { path="../uucore" }
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
|
|
@ -8,7 +8,7 @@ name = "uu_uptime"
|
||||||
path = "uptime.rs"
|
path = "uptime.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
getopts = "*"
|
getopts = "0.2.14"
|
||||||
|
|
||||||
[dependencies.uucore]
|
[dependencies.uucore]
|
||||||
path = "../uucore"
|
path = "../uucore"
|
||||||
|
|
|
@ -8,7 +8,7 @@ name = "uu_users"
|
||||||
path = "users.rs"
|
path = "users.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
getopts = "*"
|
getopts = "0.2.14"
|
||||||
|
|
||||||
[dependencies.uucore]
|
[dependencies.uucore]
|
||||||
default-features = false
|
default-features = false
|
||||||
|
|
|
@ -16,9 +16,8 @@
|
||||||
#![allow(dead_code)]
|
#![allow(dead_code)]
|
||||||
|
|
||||||
extern crate getopts;
|
extern crate getopts;
|
||||||
|
|
||||||
#[macro_use]
|
|
||||||
extern crate uucore;
|
extern crate uucore;
|
||||||
|
|
||||||
use uucore::utmpx::*;
|
use uucore::utmpx::*;
|
||||||
|
|
||||||
use getopts::Options;
|
use getopts::Options;
|
||||||
|
|
|
@ -4,8 +4,8 @@ version = "0.0.1"
|
||||||
authors = []
|
authors = []
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
getopts = "*"
|
getopts = "0.2.14"
|
||||||
time = { version = "*", optional = true }
|
time = { version = "0.1.38", optional = true }
|
||||||
data-encoding = { version = "^1.1", optional = true }
|
data-encoding = { version = "^1.1", optional = true }
|
||||||
|
|
||||||
[dependencies.libc]
|
[dependencies.libc]
|
||||||
|
|
|
@ -8,7 +8,7 @@ name = "uu_wc"
|
||||||
path = "wc.rs"
|
path = "wc.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
getopts = "*"
|
getopts = "0.2.14"
|
||||||
uucore = { path="../uucore" }
|
uucore = { path="../uucore" }
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
|
|
@ -13,7 +13,7 @@ default-features = false
|
||||||
features = ["utmpx"]
|
features = ["utmpx"]
|
||||||
|
|
||||||
[dependencies.clippy]
|
[dependencies.clippy]
|
||||||
version = "*"
|
version = "0.0.143"
|
||||||
optional = true
|
optional = true
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
|
|
@ -8,9 +8,9 @@ name = "uu_whoami"
|
||||||
path = "whoami.rs"
|
path = "whoami.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
getopts = "*"
|
getopts = "0.2.14"
|
||||||
winapi = "*"
|
winapi = "0.2.8"
|
||||||
advapi32-sys = "*"
|
advapi32-sys = "0.2.0"
|
||||||
|
|
||||||
[dependencies.uucore]
|
[dependencies.uucore]
|
||||||
path = "../uucore"
|
path = "../uucore"
|
||||||
|
|
|
@ -8,7 +8,7 @@ name = "uu_yes"
|
||||||
path = "yes.rs"
|
path = "yes.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
getopts = "*"
|
getopts = "0.2.14"
|
||||||
uucore = { path="../uucore" }
|
uucore = { path="../uucore" }
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue