From ed8dcce52fefe06f5158a0bb9436e5b51fde9a05 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 14 Feb 2021 23:04:23 +0000 Subject: [PATCH] Centralise anyhow Signed-off-by: Ian Jackson --- Cargo.lock.example | 1 - Cargo.toml | 1 + daemon/Cargo.toml | 1 - daemon/cmdlistener.rs | 2 ++ 4 files changed, 3 insertions(+), 2 deletions(-) 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::*; -- 2.30.2