From: Ian Jackson Date: Sun, 14 Feb 2021 23:12:00 +0000 (+0000) Subject: Centralise chrono* X-Git-Tag: otter-0.4.0~473 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=9014575f3d4ca305a6bfdc719b6e5e5aff515821;p=otter.git Centralise chrono* Signed-off-by: Ian Jackson --- diff --git a/Cargo.lock.example b/Cargo.lock.example index f6af94d6..6750ac0a 100644 --- a/Cargo.lock.example +++ b/Cargo.lock.example @@ -1649,8 +1649,6 @@ dependencies = [ name = "otter-daemon" version = "0.0.1" dependencies = [ - "chrono", - "chrono-tz", "delegate", "either", "failure", diff --git a/Cargo.toml b/Cargo.toml index 5881ce30..472d079a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,9 +21,9 @@ anyhow = "1" argparse = "0.2" backtrace = "0.3" boolinator = "2" - chrono = "0.4" chrono-tz = "0.5" + delegate = "0.5" downcast-rs = "1" either = "1" diff --git a/daemon/Cargo.toml b/daemon/Cargo.toml index e4d5379c..7402f0a4 100644 --- a/daemon/Cargo.toml +++ b/daemon/Cargo.toml @@ -18,8 +18,6 @@ path = "main.rs" otter = { path = ".." } otter-base = { path = "../base" } -chrono = "0.4" -chrono-tz = "0.5" delegate = "0.5" either = "1" failure = "0.1.8" # for pwd diff --git a/src/imports.rs b/src/imports.rs index 0ec2267f..209ec53d 100644 --- a/src/imports.rs +++ b/src/imports.rs @@ -6,3 +6,5 @@ pub use otter_base::imports::*; pub use anyhow; pub use boolinator; +pub use chrono; +pub use chrono_tz;