Cargo Features

[dependencies]
huozi = { version = "0.7.0", default-features = false, features = ["ab_glyph", "charsets", "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

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