From 214b140adaa765322190bcee7f9ecdd99bcb19ca Mon Sep 17 00:00:00 2001 From: Kaede Hoshikawa Date: Wed, 6 Jul 2022 17:24:50 +0900 Subject: [PATCH] Adjust feature flags. --- packages/yew/Cargo.toml | 2 +- tools/benchmark-ssr/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/yew/Cargo.toml b/packages/yew/Cargo.toml index 847e92f423d..76f59958790 100644 --- a/packages/yew/Cargo.toml +++ b/packages/yew/Cargo.toml @@ -95,7 +95,7 @@ features = [ ] [features] -tokio = ["tokio/rt", "dep:num_cpus", "dep:tokio-util"] +tokio = ["tokio/rt", "tokio/time", "dep:num_cpus", "dep:tokio-util"] ssr = ["dep:html-escape", "dep:base64ct", "dep:bincode"] csr = [] hydration = ["csr", "dep:bincode"] diff --git a/tools/benchmark-ssr/Cargo.toml b/tools/benchmark-ssr/Cargo.toml index 023a6dc2109..df278aa22e4 100644 --- a/tools/benchmark-ssr/Cargo.toml +++ b/tools/benchmark-ssr/Cargo.toml @@ -8,7 +8,7 @@ edition = "2021" [dependencies] yew = { path = "../../packages/yew", features = ["tokio", "ssr"] } function_router = { path = "../../examples/function_router" } -tokio = { version = "1.19", features = ["full"] } +tokio = { version = "1.19", features = ["macros", "rt-multi-thread", "parking_lot"] } jemallocator = "0.5.0" average = "0.13.1" tabled = "0.7.0"