Cargo Features

[dependencies]
kas-wgpu = { version = "0.14.1", default-features = false, features = ["internal_doc", "shaping", "harfbuzz", "raster"] }
default = raster, shaping

WARNING: if "raster" is disabled, an alternative like "kas-text/fontdue" is required!

internal_doc

Enables documentation of APIs for graphics library and platform backends.
This API is not intended for use by end-user applications and thus is omitted from built documentation by default.
This flag does not change the API, only built documentation.

shaping default

Enables shaping of kas-text

kas-text:

Enable shaping with the default dependency.

harfbuzz

Enables harfbuzz of kas-text

kas-text:

Enable shaping via HarfBuzz.

raster default

Enables raster of kas-text

kas-text:

Serialization is optionally supported for some types:
serde

Glyph rastering is optionally supported; "raster" uses the default backend or a backend may be specified directly: