Cargo Features

[dependencies]
skrifa = { version = "0.26.2", default-features = false, features = ["std", "traversal", "autohint_shaping", "spec_next", "libm"] }
default = autohint_shaping, traversal

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

std traversal

Enables std of read-fonts

traversal default = std

Enables experimental_traverse of read-fonts

read-fonts:

this feature is not stable, but provides untyped traversal of font tables.
we do not consider this feature public API for the purposes of semver.

autohint_shaping default

Enables extended shaping support for the autohinter. Enabled by default.
This exists as a feature because shaping support is "best effort" and we want the ability to disable it for testing against FreeType.

spec_next

Enables experimental implementations of proposed changes to the spec as discussed at https://github.com/harfbuzz/boring-expansion-spec

Enables spec_next of read-fonts

libm

Enables core_maths, libm of read-fonts