Cargo Features
KAS-text has no features set by default.
[dependencies]
kas-text = { version = "0.7.0", features = ["num_glyphs", "shaping", "harfbuzz", "markdown", "serde", "raster", "fontdue"] }
- num_glyphs
-
Support num_glyphs method
- shaping = rustybuzz
-
Enable shaping with the default dependency.
- harfbuzz = harfbuzz_rs
-
Enable shaping via HarfBuzz.
- markdown = pulldown-cmark
-
Enable Markdown parsing
- serde
-
Serialization is optionally supported for some types:
- raster = ab_glyph
-
Glyph rastering is optionally supported; "raster" uses the default backend or a backend may be specified directly:
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.
ab_glyph
fontdue
- pulldown-cmark markdown?
- ab_glyph raster?
-
Affects
kas-text::raster
… - fontdue implicit feature
-
Enables fontdue
fontdue:
A simple no_std font parser and rasterizer
Affects
kas-text::raster
… - harfbuzz_rs harfbuzz?
- rustybuzz shaping?
-
Enables rustybuzz ^0.18.0