Thanks to visit codestin.com
Credit goes to lib.rs

Cargo Features

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

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 skottie? svg?

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

webp = webp-decode, webp-encode
webp-encode webp-decode webp?
pdf default = jpeg
use-system-jpeg-turbo

sys libraries

Enables mozjpeg-sys

svg = textlayout

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

skottie = textlayout
binary-cache build default

Enables flate2 and tar

Affects build_support::binary_cache

embed-icudtl default
embed-freetype freetype-woff2
no-compile

Panic when any compilation steps are required to run. See https://github.com/rust-skia/rust-skia/pull/1121.

jpeg pdf = jpeg-decode, jpeg-encode
jpeg-encode jpeg-decode jpeg?