Cargo Features

[dependencies]
swash = { version = "0.2.0", default-features = false, features = ["std", "libm", "scale", "render"] }
default = render, scale, std

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

std default

Enables std of skrifa, optional yazi, and optional zeno

Affects internal::RawFont.dump_tables

libm

Enables core_maths, libm of skrifa and optional zeno

scale default render

Enables yazi and zeno

Affects swash::scale, strike::BitmapFormat, strike::Bitmap

render default = scale

Enables eval of zeno

Affects scale::Render