From d6e04d49f78f9213f16deb0114f0f1c7ec0249b4 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 14 Feb 2021 23:18:57 +0000 Subject: [PATCH] Centralise failure Signed-off-by: Ian Jackson --- Cargo.lock.example | 1 - Cargo.toml | 2 +- daemon/Cargo.toml | 1 - src/imports.rs | 1 + 4 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Cargo.lock.example b/Cargo.lock.example index c3524645..d1df1e76 100644 --- a/Cargo.lock.example +++ b/Cargo.lock.example @@ -1649,7 +1649,6 @@ dependencies = [ name = "otter-daemon" version = "0.0.1" dependencies = [ - "failure", "fehler", "flexi_logger", "fs2", diff --git a/Cargo.toml b/Cargo.toml index 6bbdff37..81eb81af 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -28,8 +28,8 @@ downcast-rs = "1" either = "1" enum-map = { version = "0.6", features = [ "serde" ] } env_logger = "0.8" - failure = "0.1.8" # for pwd + flexi_logger = { version = "0.17", features = [ "specfile" ] } fs2 = "0.4" glob = "0.3" diff --git a/daemon/Cargo.toml b/daemon/Cargo.toml index d00879d9..6697ed46 100644 --- a/daemon/Cargo.toml +++ b/daemon/Cargo.toml @@ -18,7 +18,6 @@ path = "main.rs" otter = { path = ".." } otter-base = { path = "../base" } -failure = "0.1.8" # for pwd flexi_logger = { version = "0.17", features = [ "specfile" ] } fs2 = "0.4" glob = "0.3" diff --git a/src/imports.rs b/src/imports.rs index a16bb941..cbd895a5 100644 --- a/src/imports.rs +++ b/src/imports.rs @@ -11,3 +11,4 @@ pub use chrono_tz; pub use delegate; pub use either; pub use env_logger; +pub use failure; -- 2.30.2