Cargo Features

[dependencies]
dioxus-motion = { version = "0.3.2", default-features = false, features = ["web", "desktop", "transitions"] }
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 = dioxus, wasm-bindgen, web-sys

Enables wasm-bindgen of instant

Affects closure_pool::WebClosurePool, closure_pool::register_pooled_callback, closure_pool::create_pooled_closure, closure_pool::execute_and_return_pooled_closure, closure_pool::closure_pool_stats, pool::MotionResourcePools.closure_pool

desktop = dioxus, instant, tokio
transitions = dioxus-motion-transitions-macro

Affects dioxus-motion::transitions

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

dioxus desktop? web