Cargo Features

[dependencies]
vello_common = { version = "0.0.1", default-features = false, features = ["simd", "std", "libm", "png", "pico_svg"] }
default = png, std

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

simd

Enable using SIMD instructions for rendering

Affects execute::Neon, execute::Avx2

std default png

Get floating point functions from the standard library (likely using your target’s libc).

Enables std of peniko and skrifa

libm

Use floating point implementations from libm.

Enables libm, libm of peniko and skrifa

png default = std

Allow loading Pixmap from PNG, and drawing png glyphs.

Enables png

pico_svg

Development only features

Enable a simple version of SVG drawing.
This is only intended for development of Vello CPU itself,
and is likely to be removed/moved.

Enables roxmltree

Affects vello_common::pico_svg