pr: update dependencies

This commit is contained in:
Terts Diepraam 2021-05-31 14:48:12 +02:00
parent 6c4479f82d
commit 77a0a077b8
3 changed files with 12 additions and 6 deletions

10
Cargo.lock generated
View file

@ -1206,6 +1206,12 @@ version = "1.2.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0" checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0"
[[package]]
name = "quick-error"
version = "2.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a993555f31e5a609f617c12db6250dedcac1b0a85076912c436e6fc9b2c8e6a3"
[[package]] [[package]]
name = "quickcheck" name = "quickcheck"
version = "0.9.2" version = "0.9.2"
@ -1929,7 +1935,7 @@ dependencies = [
"filetime", "filetime",
"ioctl-sys", "ioctl-sys",
"libc", "libc",
"quick-error", "quick-error 1.2.3",
"uucore", "uucore",
"uucore_procs", "uucore_procs",
"walkdir", "walkdir",
@ -2420,7 +2426,7 @@ dependencies = [
"chrono", "chrono",
"getopts", "getopts",
"itertools 0.10.0", "itertools 0.10.0",
"quick-error", "quick-error 2.0.1",
"regex", "regex",
"time", "time",
"uucore", "uucore",

View file

@ -6,7 +6,7 @@ license = "MIT"
description = "pr ~ (uutils) convert text files for printing" description = "pr ~ (uutils) convert text files for printing"
homepage = "https://github.com/uutils/coreutils" homepage = "https://github.com/uutils/coreutils"
repository = "https://github.com/uutils/coreutils/tree/master/src/uu/pinky" repository = "https://github.com/uutils/coreutils/tree/master/src/uu/pr"
keywords = ["coreutils", "uutils", "cross-platform", "cli", "utility"] keywords = ["coreutils", "uutils", "cross-platform", "cli", "utility"]
categories = ["command-line-utilities"] categories = ["command-line-utilities"]
edition = "2018" edition = "2018"
@ -20,8 +20,8 @@ uucore_procs = { version=">=0.0.5", package="uucore_procs", path="../../uucore_p
getopts = "0.2.21" getopts = "0.2.21"
time = "0.1.41" time = "0.1.41"
# A higher version would cause a conflict with time # A higher version would cause a conflict with time
chrono = "0.4.11" chrono = "0.4.19"
quick-error = "1.2.3" quick-error = "2.0.1"
itertools = "0.10" itertools = "0.10"
regex = "1.0" regex = "1.0"

View file

@ -140,7 +140,7 @@ quick_error! {
Input(err: IOError, path: String) { Input(err: IOError, path: String) {
context(path: &'a str, err: IOError) -> (err, path.to_owned()) context(path: &'a str, err: IOError) -> (err, path.to_owned())
display("pr: Reading from input {0} gave error", path) display("pr: Reading from input {0} gave error", path)
cause(err) source(err)
} }
UnknownFiletype(path: String) { UnknownFiletype(path: String) {