From: Ian Jackson Date: Sun, 14 Feb 2021 23:13:53 +0000 (+0000) Subject: Centralise delegate X-Git-Tag: otter-0.4.0~472 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=b3cfbbbbc3f633c89d65375a535509c812b945d9;p=otter.git Centralise delegate Signed-off-by: Ian Jackson --- diff --git a/Cargo.lock.example b/Cargo.lock.example index 6750ac0a..fc3d4777 100644 --- a/Cargo.lock.example +++ b/Cargo.lock.example @@ -1649,7 +1649,6 @@ dependencies = [ name = "otter-daemon" version = "0.0.1" dependencies = [ - "delegate", "either", "failure", "fehler", diff --git a/Cargo.toml b/Cargo.toml index 472d079a..17193763 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,8 +23,8 @@ backtrace = "0.3" boolinator = "2" chrono = "0.4" chrono-tz = "0.5" - delegate = "0.5" + downcast-rs = "1" either = "1" enum-map = { version = "0.6", features = [ "serde" ] } diff --git a/daemon/Cargo.toml b/daemon/Cargo.toml index 7402f0a4..405ef2c1 100644 --- a/daemon/Cargo.toml +++ b/daemon/Cargo.toml @@ -18,7 +18,6 @@ path = "main.rs" otter = { path = ".." } otter-base = { path = "../base" } -delegate = "0.5" either = "1" failure = "0.1.8" # for pwd flexi_logger = { version = "0.17", features = [ "specfile" ] } diff --git a/src/imports.rs b/src/imports.rs index 209ec53d..7b327a6e 100644 --- a/src/imports.rs +++ b/src/imports.rs @@ -8,3 +8,4 @@ pub use anyhow; pub use boolinator; pub use chrono; pub use chrono_tz; +pub use delegate;