Cargo Features
[dependencies]
dioxus-fullstack = { version = "0.6.0-alpha.2", default-features = false, features = ["panic_hook", "hot-reload", "mounted", "file_engine", "document", "web", "desktop", "mobile", "default-tls", "rustls", "axum", "server", "aws-lc-rs"] }
- default = document, file_engine, hot-reload, mounted, panic_hook
-
These default features are set whenever
dioxus-fullstack
is added without
somewhere in the dependency tree.default-features = false - panic_hook default
-
Enables panic_hook of optional dioxus-web
Web Integration
- hot-reload default
-
Enables dioxus-hot-reload, hot_reload of optional dioxus-web
- mounted default
-
Enables mounted of optional dioxus-web
- file_engine default
-
Enables file_engine of optional dioxus-web
- document default
-
Enables document of optional dioxus-web
- web
-
Enables dioxus-web and web-sys
Affects
launch::launch
… - desktop
-
Enables dioxus-desktop
Desktop Integration
and reqwest of dioxus_server_macro and server_fn
server_fn:
server functions
Affects
launch::launch
… - mobile
-
Enables dioxus-mobile
Mobile Integration
Affects
launch::launch
… - default-tls axum?
-
Enables default-tls of server_fn
- rustls
-
Enables hyper-rustls and rustls, rustls of server_fn
- axum = default-tls, server
-
Enables axum, tower-http ^0.5.2, axum of dioxus_server_macro and server_fn
Affects
server_context::Axum
… - server axum? = dioxus-interpreter-js
-
Enables async-trait and clap, http, hyper, parking_lot, and pin-project, thiserror, tokio, tokio-stream, tokio-util, tower ^0.4.13, tower-layer, and tracing-futures, read-from-args of dioxus-cli-config, server of dioxus_server_macro, ssr of server_fn and incremental of dioxus-ssr
Dioxus + SSR
Affects
launch::launch
,collection::ServerFnTraitObj
,collection::ServerFnMiddleware
,collection::ServerFunction
,collection::DioxusServerFnRegistry
,collection::ServerRegistrationFnError
… - aws-lc-rs
-
Enables aws-lc-rs
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.