Cargo Features
[dependencies]
dioxus-motion = { version = "0.3.1", default-features = false, features = ["web", "desktop", "transitions"] }
- default = web
-
The
web
feature is set by default wheneverdioxus-motion
is added without
somewhere in the dependency tree.default-features = false - web default = wasm-bindgen, web-sys
-
Enables wasm-bindgen of instant
- desktop = instant, tokio
- transitions = dioxus-motion-transitions-macro
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.
- instant desktop? web
- wasm-bindgen web
- web-sys web
- tokio desktop?
-
Enables tokio
For desktop platforms
- dioxus-motion-transitions-macro transitions?
-
Enables dioxus-motion-transitions-macro
For transitions