Cargo Features

dioxus-router has no features set by default.

dioxus-router = { version = "0.5.0", features = ["ssr", "liveview", "wasm_test", "web", "fullstack"] }
ssr = tokio

Enables incremental of dioxus-ssr, server of optional dioxus-fullstack

Affects dioxus-router::incremental

liveview = dioxus-liveview, serde_json, tokio

Enables serde

web = gloo, gloo-utils, js-sys, wasm-bindgen, web-sys

Enables web of dioxus-router-macro

fullstack = dioxus-fullstack

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

gloo web?

Enables gloo ^0.8.0

serde_json liveview?
wasm-bindgen web?
web-sys web?
js-sys web?
gloo-utils web?

Enables gloo-utils ^0.1.6

dioxus-liveview liveview?
dioxus-ssr ssr?
dioxus-fullstack fullstack?
tokio liveview? ssr?