diff --git a/Cargo.lock b/Cargo.lock index a7fa8f23b..4af8b5c9e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1206,6 +1206,12 @@ version = "1.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0" +[[package]] +name = "quick-error" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a993555f31e5a609f617c12db6250dedcac1b0a85076912c436e6fc9b2c8e6a3" + [[package]] name = "quickcheck" version = "0.9.2" @@ -1929,7 +1935,7 @@ dependencies = [ "filetime", "ioctl-sys", "libc", - "quick-error", + "quick-error 1.2.3", "uucore", "uucore_procs", "walkdir", @@ -2420,7 +2426,7 @@ dependencies = [ "chrono", "getopts", "itertools 0.10.0", - "quick-error", + "quick-error 2.0.1", "regex", "time", "uucore", diff --git a/src/uu/pr/Cargo.toml b/src/uu/pr/Cargo.toml index 53f2a69b6..6d9ec2304 100644 --- a/src/uu/pr/Cargo.toml +++ b/src/uu/pr/Cargo.toml @@ -6,7 +6,7 @@ license = "MIT" description = "pr ~ (uutils) convert text files for printing" 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"] categories = ["command-line-utilities"] edition = "2018" @@ -20,8 +20,8 @@ uucore_procs = { version=">=0.0.5", package="uucore_procs", path="../../uucore_p getopts = "0.2.21" time = "0.1.41" # A higher version would cause a conflict with time -chrono = "0.4.11" -quick-error = "1.2.3" +chrono = "0.4.19" +quick-error = "2.0.1" itertools = "0.10" regex = "1.0" diff --git a/src/uu/pr/src/pr.rs b/src/uu/pr/src/pr.rs index 055a40d2f..266f605c5 100644 --- a/src/uu/pr/src/pr.rs +++ b/src/uu/pr/src/pr.rs @@ -140,7 +140,7 @@ quick_error! { Input(err: IOError, path: String) { context(path: &'a str, err: IOError) -> (err, path.to_owned()) display("pr: Reading from input {0} gave error", path) - cause(err) + source(err) } UnknownFiletype(path: String) {