From 2cdf7e2329f523580f4cb3ddb1c00286efef0a9e Mon Sep 17 00:00:00 2001 From: Al Liu Date: Sun, 12 Nov 2023 21:48:29 +0800 Subject: [PATCH] derive `ServicesError` --- examples/waku-chat/Cargo.toml | 1 + examples/waku-chat/src/main.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/waku-chat/Cargo.toml b/examples/waku-chat/Cargo.toml index 758e19b..f345bda 100644 --- a/examples/waku-chat/Cargo.toml +++ b/examples/waku-chat/Cargo.toml @@ -13,6 +13,7 @@ bincode = "1" overwatch-rs = { path = "../../overwatch-rs" } overwatch-derive = { path = "../../overwatch-derive" } tracing = "*" +thiserror = "1" async-trait = "0.1" tracing-subscriber = "0.3" clap = { version = "4.0.18", features = ["derive"] } diff --git a/examples/waku-chat/src/main.rs b/examples/waku-chat/src/main.rs index a9e8903..0888767 100644 --- a/examples/waku-chat/src/main.rs +++ b/examples/waku-chat/src/main.rs @@ -11,7 +11,7 @@ use chat::*; use clap::Parser; use network::*; use overwatch_derive::*; -use overwatch_rs::{overwatch::*, services::handle::ServiceHandle, thiserror}; +use overwatch_rs::{overwatch::*, services::handle::ServiceHandle}; /// Simple program to greet a person #[derive(Parser, Debug)]