From: Ian Jackson Date: Sun, 14 Feb 2021 23:04:23 +0000 (+0000) Subject: Centralise anyhow X-Git-Tag: otter-0.4.0~478 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=ed8dcce52fefe06f5158a0bb9436e5b51fde9a05;p=otter.git Centralise anyhow Signed-off-by: Ian Jackson --- diff --git a/Cargo.lock.example b/Cargo.lock.example index 69d2f064..3790590a 100644 --- a/Cargo.lock.example +++ b/Cargo.lock.example @@ -1649,7 +1649,6 @@ dependencies = [ name = "otter-daemon" version = "0.0.1" dependencies = [ - "anyhow", "argparse", "arrayvec", "boolinator", diff --git a/Cargo.toml b/Cargo.toml index c570f260..faea52d6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,6 +18,7 @@ members = ["wasm", "daemon", "wdriver"] otter-base = { path = "base" } anyhow = "1" + argparse = "0.2" backtrace = "0.3" boolinator = "2" diff --git a/daemon/Cargo.toml b/daemon/Cargo.toml index 788003be..bbe66602 100644 --- a/daemon/Cargo.toml +++ b/daemon/Cargo.toml @@ -18,7 +18,6 @@ path = "main.rs" otter = { path = ".." } otter-base = { path = "../base" } -anyhow = "1" argparse = "0.2" arrayvec = "0.5" boolinator = "2" diff --git a/daemon/cmdlistener.rs b/daemon/cmdlistener.rs index 9c1a7ee5..ec0c83ce 100644 --- a/daemon/cmdlistener.rs +++ b/daemon/cmdlistener.rs @@ -4,6 +4,8 @@ // management API implementation +use otter::imports::*; + use super::*; use otter::commands::*;