Cargo Features
[dependencies]
cantara = { version = "0.1.1", default-features = false, features = ["web", "desktop", "mobile"] }
- default = desktop
-
The
desktop
feature is set by default whenevercantara
is added without
somewhere in the dependency tree.default-features = false - web
-
Enables web of dioxus, transitions and web of dioxus-motion
- desktop default
-
Enables dioxus, desktop and transitions of dioxus-motion
- mobile
-
Enables mobile of dioxus, desktop and transitions of dioxus-motion
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.