Cargo Features

dioxus-native-core has no features set by default.

[dependencies]
dioxus-native-core = { version = "0.5.0-alpha.0", features = ["layout-attributes", "dioxus", "parallel"] }
layout-attributes

Enables lightningcss and taffy ^0.3.12

taffy:

for parsing attributes

Affects dioxus-native-core::layout_attributes

dioxus = dioxus-core

Affects dioxus-native-core::dioxus

parallel

Enables parallel of shipyard ^0.6.2

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-core dioxus?

Enables dioxus-core ^0.5.0-alpha.0