Cargo Features
[dependencies]
dioxus-desktop = { version = "0.5.1", default-features = false, features = ["tokio_runtime", "fullscreen", "transparent", "devtools", "hot-reload", "gnu"] }
- default = devtools, hot-reload, tokio_runtime
-
These default features are set whenever
dioxus-desktop
is added without
somewhere in the dependency tree.default-features = false Enables objc-exception of wry ^0.37.0
- tokio_runtime default = tokio
- fullscreen
-
Enables fullscreen of wry ^0.37.0
- transparent
-
Enables transparent of wry ^0.37.0
- devtools default
-
Enables devtools of wry ^0.37.0
- hot-reload default = dioxus-hot-reload
- gnu
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.
- tokio tokio_runtime
- dioxus-hot-reload win mac linux dragonfly freebsd netbsd openbsd hot-reload