Cargo Features
[dependencies]
dioxus-desktop = { version = "0.6.0-alpha.5", default-features = false, features = ["tokio_runtime", "fullscreen", "transparent", "devtools", "exception", "gnu", "tokio-tungstenite"] }
- default = devtools, exception, tokio_runtime
-
These default features are set whenever
dioxus-desktop
is added without
somewhere in the dependency tree.default-features = false - tokio_runtime default
-
Enables tokio
- fullscreen
-
Enables fullscreen of wry ^0.45.0
- transparent
-
Enables transparent of wry ^0.45.0
- devtools default = dioxus-signals
-
Enables devtools of wry ^0.45.0 and dioxus-devtools
hotreload only works on desktop platforms.... mobile is still wip
- exception default
-
Enables objc-exception of wry ^0.45.0
- 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.
- dioxus-signals devtools
- tokio-tungstenite not android android implicit feature
-
Enables tokio-tungstenite ^0.23.1
tokio-tungstenite:
Tokio binding for Tungstenite, the Lightweight stream-based WebSocket implementation