Cargo Features
[dependencies]
dioxus = { version = "0.6.1", default-features = false, features = ["minimal", "signals", "macro", "html", "hooks", "devtools", "mounted", "file_engine", "asset", "document", "logger", "launch", "router", "fullstack", "desktop", "mobile", "web", "ssr", "liveview", "server", "third-party-renderer"] }
- default = asset, devtools, document, file_engine, hooks, html, launch, logger, macro, mounted, signals
-
These default features are set whenever
dioxus
is added without
somewhere in the dependency tree.default-features = false - minimal = hooks, html, launch, macro, signals
- signals default minimal?
-
Enables dioxus-signals
- macro default minimal?
-
Enables dioxus-core-macro
- html default minimal?
-
Enables dioxus-html
- hooks default minimal?
-
Enables dioxus-hooks
- devtools default
-
Enables dioxus-devtools, devtools of optional dioxus-fullstack and optional dioxus-web
- mounted default
-
Enables mounted of optional dioxus-html and optional dioxus-web
- file_engine default
-
Enables file_engine of optional dioxus-web
- asset default
-
Enables manganis
- document default
-
Enables dioxus-document and dioxus-history, document of optional dioxus-web
- logger default
-
Enables dioxus-logger
- launch default minimal?
-
Enables dioxus-config-macro
- router
-
Enables dioxus-router
- fullstack
-
Platforms
Enables dioxus-fullstack and serde, fullstack of dioxus-config-macro
- desktop
-
Enables dioxus-desktop, desktop of dioxus-config-macro, desktop of optional dioxus-fullstack
- mobile
-
Enables dioxus-mobile, mobile of dioxus-config-macro and optional dioxus-fullstack
- web = dioxus-cli-config
-
Enables dioxus-web, web of dioxus-cli-config, dioxus-config-macro, and optional dioxus-fullstack
- ssr server?
-
Enables dioxus-ssr, ssr of dioxus-config-macro
- liveview
-
Enables dioxus-liveview, liveview of dioxus-config-macro
- server = 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.