Cargo Features

[dependencies]
skia-bindings = { version = "0.80.0", default-features = false, features = ["d3d", "textlayout", "webp", "webp-decode", "use-system-jpeg-turbo", "svg", "shaper", "binary-cache", "embed-icudtl", "freetype-woff2"] }
default = binary-cache, embed-icudtl

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

gl egl wayland x11 vulkan metal d3d
textlayout shaper? svg?

Affects defaults::textlayout, skia-bindings::icu

webp = webp-decode, webp-encode
webp-encode webp-decode webp?
use-system-jpeg-turbo = mozjpeg-sys

sys libraries

svg = textlayout

textlayout because SkSVGTextContext::SkSVGTextContext() invokes SkShaper::Make.

shaper = textlayout
binary-cache default = flate2, tar

Affects build_support::binary_cache

embed-icudtl default = lazy_static
embed-freetype freetype-woff2

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

mozjpeg-sys use-system-jpeg-turbo?
lazy_static embed-icudtl
flate2 build binary-cache
tar build binary-cache