From cd1ca0a6b418c12156bd73589a00805f51e80959 Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Wed, 15 Aug 2018 14:36:48 +0200 Subject: Bump version of failure. - Also, avoid deprecated method in sq. --- core/Cargo.toml | 2 +- ffi/Cargo.toml | 2 +- net/Cargo.toml | 2 +- openpgp/Cargo.toml | 2 +- store/Cargo.toml | 2 +- tool/Cargo.toml | 2 +- tool/src/sq.rs | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/core/Cargo.toml b/core/Cargo.toml index 1bfb5222..3c903283 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -4,5 +4,5 @@ version = "0.1.0" authors = ["Justus Winter "] [dependencies] -failure = "0.1.1" +failure = "0.1.2" tempdir = "0.3.5" diff --git a/ffi/Cargo.toml b/ffi/Cargo.toml index c3985550..e68d14fd 100644 --- a/ffi/Cargo.toml +++ b/ffi/Cargo.toml @@ -8,7 +8,7 @@ openpgp = { path = "../openpgp" } sequoia-core = { path = "../core" } sequoia-store = { path = "../store" } sequoia-net = { path = "../net" } -failure = "0.1.1" +failure = "0.1.2" lazy_static = "1.0.0" libc = "0.2.33" native-tls = "0.2.0" diff --git a/net/Cargo.toml b/net/Cargo.toml index 54e08f40..d2786d5d 100644 --- a/net/Cargo.toml +++ b/net/Cargo.toml @@ -8,7 +8,7 @@ openpgp = { path = "../openpgp" } sequoia-core = { path = "../core" } capnp-rpc = "0.8" -failure = "0.1.1" +failure = "0.1.2" fs2 = "0.4.2" futures = "0.1" http = "0.1.5" diff --git a/openpgp/Cargo.toml b/openpgp/Cargo.toml index 22774d05..0542731e 100644 --- a/openpgp/Cargo.toml +++ b/openpgp/Cargo.toml @@ -8,7 +8,7 @@ build = "build.rs" buffered-reader = { path = "../buffered-reader", default-features = false } base64 = "0.9.0" bzip2 = { version = "0.3.2", optional = true } -failure = "0.1.1" +failure = "0.1.2" flate2 = { version = "1.0.1", optional = true } lalrpop-util = "0.15.2" nettle = { git = "https://gitlab.com/sequoia-pgp/nettle-rs.git" } diff --git a/store/Cargo.toml b/store/Cargo.toml index 43f672ba..7984043d 100644 --- a/store/Cargo.toml +++ b/store/Cargo.toml @@ -14,7 +14,7 @@ sequoia-core = { path = "../core" } sequoia-net = { path = "../net" } capnp = "0.8" capnp-rpc = "0.8" -failure = "0.1.1" +failure = "0.1.2" futures = "0.1.17" rand = "0.5" rusqlite = "0.13" diff --git a/tool/Cargo.toml b/tool/Cargo.toml index 708efdc9..3467d48e 100644 --- a/tool/Cargo.toml +++ b/tool/Cargo.toml @@ -10,7 +10,7 @@ sequoia-core = { path = "../core" } sequoia-net = { path = "../net" } sequoia-store = { path = "../store" } clap = "2.32.0" -failure = "0.1.1" +failure = "0.1.2" prettytable-rs = "0.7.0" rpassword = "2.0.0" time = "0.1.38" diff --git a/tool/src/sq.rs b/tool/src/sq.rs index 43ffe726..7fcc9693 100644 --- a/tool/src/sq.rs +++ b/tool/src/sq.rs @@ -373,7 +373,7 @@ fn format_time(t: &time::Timespec) -> String { fn main() { if let Err(e) = real_main() { - let mut cause = e.cause(); + let mut cause = e.as_fail(); eprint!("{}", cause); while let Some(c) = cause.cause() { eprint!(":\n {}", c); -- cgit v1.2.3