From beb10e84fdb50f919848816da42a54855dce836c Mon Sep 17 00:00:00 2001 From: Mariusz Klochowicz Date: Wed, 17 Nov 2021 14:06:19 +1030 Subject: [PATCH] Don't use tokio feature from xtra Prefer using our FutureExt to enforce keeping RemoteHandles to prevent zombie tasks. --- Cargo.lock | 1 - daemon/Cargo.toml | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d353f09..114b3cf 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3826,7 +3826,6 @@ dependencies = [ "futures-timer", "futures-util", "pollster", - "tokio", ] [[package]] diff --git a/daemon/Cargo.toml b/daemon/Cargo.toml index 1cb748d..f3c21c8 100644 --- a/daemon/Cargo.toml +++ b/daemon/Cargo.toml @@ -45,7 +45,7 @@ tracing = { version = "0.1" } tracing-subscriber = { version = "0.2", default-features = false, features = ["fmt", "ansi", "env-filter", "chrono", "tracing-log", "json"] } uuid = { version = "0.8", features = ["serde", "v4"] } x25519-dalek = { version = "1.1" } -xtra = { version = "0.6", features = ["with-tokio-1"] } +xtra = { version = "0.6" } xtra_productivity = { version = "0.1.0" } [[bin]]