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
somewhere in the dependency tree.default-features = false - 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).
- libm
-
Use floating point implementations from libm.
- 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
…