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"