Cargo Features

[dependencies]
huozi = { version = "0.8.0", default-features = false, features = ["ab_glyph", "charsets", "font_kit", "fontdue", "layout", "parser", "sdf", "wgpu"] }
default = charsets, fontdue, layout, parser, sdf, wgpu

These default features are set whenever huozi is added without default-features = false somewhere in the dependency tree.

ab_glyph

Enables ab_glyph

charsets default

Affects huozi::charsets

font_kit

Enables font-kit and pathfinder_geometry

fontdue default

Enables fontdue

layout default

Affects huozi::glyph_vertices, huozi::layout

parser default

Enables nom

Affects huozi::parser

sdf default

Affects huozi::sdf

wgpu default

Enables wgpu ^22.0