Cargo Features

[dependencies]
dioxus = { version = "0.5.1", default-features = false, features = ["signals", "macro", "html", "hooks", "hot-reload", "launch", "router", "fullstack", "desktop", "mobile", "web", "ssr", "liveview", "axum", "third-party-renderer"] }
default = hooks, hot-reload, html, launch, macro, signals

These default features are set whenever dioxus is added without default-features = false somewhere in the dependency tree.

signals default = dioxus-signals
macro default = dioxus-core-macro
html default = dioxus-html
hooks default = dioxus-hooks
hot-reload default = dioxus-hot-reload
launch default = dioxus-config-macro
router = dioxus-router
fullstack = dioxus-fullstack, serde

Platforms

Enables fullstack of dioxus-config-macro and optional dioxus-router

Affects launch::launch_fullstack

desktop = dioxus-desktop

Enables desktop of dioxus-config-macro and optional dioxus-fullstack

Affects launch::launch_desktop

mobile = dioxus-mobile

Enables mobile of dioxus-config-macro and optional dioxus-fullstack

Affects launch::launch_mobile

web = dioxus-web

Enables web of dioxus-config-macro, optional dioxus-fullstack, and optional dioxus-router

Affects launch::launch_web

ssr axum? = dioxus-ssr

Enables ssr of dioxus-config-macro and optional dioxus-router

liveview = dioxus-liveview

Enables liveview of dioxus-config-macro and optional dioxus-router

axum = ssr

Enables axum and server of optional dioxus-fullstack, axum of optional dioxus-liveview

third-party-renderer

This feature just disables the no-renderer-enabled warning

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.

dioxus-html html
dioxus-core-macro macro
dioxus-config-macro desktop? fullstack? launch liveview? mobile? ssr? web?
dioxus-hooks hooks
dioxus-signals signals
dioxus-router router?
dioxus-web web?
dioxus-mobile mobile?
dioxus-desktop desktop?
dioxus-fullstack fullstack?
dioxus-liveview liveview?
dioxus-ssr ssr?
serde fullstack?
dioxus-hot-reload not wasm32 ios android hot-reload