From e86c1d8972dfa8717cd450513e90ff05b9af4776 Mon Sep 17 00:00:00 2001 From: Jonathan Kelley Date: Tue, 19 Oct 2021 12:09:35 -0400 Subject: [PATCH] chores: slim down tokio --- packages/desktop/Cargo.toml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/desktop/Cargo.toml b/packages/desktop/Cargo.toml index 9bfda07c9..18b925646 100644 --- a/packages/desktop/Cargo.toml +++ b/packages/desktop/Cargo.toml @@ -18,7 +18,11 @@ log = "0.4.13" html-escape = "0.2.9" wry = "0.12.2" futures-channel = "0.3.16" -tokio = { version = "1.12.0", features = ["full"], optional = true } +tokio = { version = "1.12.0", features = [ + "sync", + "rt-multi-thread", + "rt", +], optional = true, default-features = false } dioxus-core-macro = { path = "../core-macro" } [features]