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
somewhere in the dependency tree.default-features = false - 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
-
Affects
swash::scale
,strike::BitmapFormat
,strike::Bitmap
… - render default = scale
-
Affects
scale::Render
…