Cargo Features
[dependencies]
cssengine = { version = "0.1.0", default-features = false, features = ["serde", "grid", "flexbox", "tailwind_colors"] }
- default = flexbox, grid
-
These default features are set whenever
cssengine
is added without
somewhere in the dependency tree.default-features = false - serde
-
Enables serde, serde of csscolorparser and serde of smallvec and taffy ^0.6.2
taffy:
Other
Add
serde
derives to Style structs - grid default
-
Enables grid of taffy ^0.6.2
taffy:
Enables the CSS Grid layout algorithm. See
compute_grid_layout
. - flexbox default
-
Enables flexbox of taffy ^0.6.2
taffy:
Enables the Flexbox layout algorithm. See
compute_flexbox_layout
. - tailwind_colors
cssengine has 5 features without comments.