Cargo Features
[dependencies]
kas-wgpu = { version = "0.15.0", 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
-
kas-text:
Enable shaping with the default dependency.
- harfbuzz
-
kas-text:
Enable shaping via HarfBuzz.
- raster default
-
kas-text:
Glyph rastering is optionally supported; "raster" uses the default backend or a backend may be specified directly: