From c238c22eb53eecef37ff4d8234a142c01cd1d041 Mon Sep 17 00:00:00 2001 From: Evan Almloff Date: Sat, 24 Jun 2023 14:07:48 -0700 Subject: [PATCH] add required features to fix tests --- packages/router/Cargo.toml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/router/Cargo.toml b/packages/router/Cargo.toml index 1941c6e67..4e300d878 100644 --- a/packages/router/Cargo.toml +++ b/packages/router/Cargo.toml @@ -36,11 +36,15 @@ web = ["gloo", "web-sys", "wasm-bindgen", "gloo-utils", "js-sys"] [dev-dependencies] dioxus = { path = "../dioxus" } dioxus-ssr = { path = "../ssr" } -dioxus-router = { path = ".", features = ["ssr"] } criterion = { verison = "0.5", features = ["async_tokio", "html_reports"] } +[[example]] +name = "static_generation" +required-features = ["ssr"] + [[bench]] name = "incremental" +required-features = ["ssr"] harness = false [target.'cfg(not(target_family = "wasm"))'.dev-dependencies]