Cargo Features

[dependencies]
dioxus-motion = { version = "0.2.1", default-features = false, features = ["web", "desktop"] }
default = web

The web feature is set by default whenever dioxus-motion is added without default-features = false somewhere in the dependency tree.

web default = wasm-bindgen, web-sys

Enables wasm-bindgen of instant

desktop = instant, tokio

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