Cargo Features

[dependencies]
peniko = { version = "0.3.0", default-features = false, features = ["std", "bytemuck", "libm", "mint", "serde"] }
default = std

The std feature is set by default whenever peniko is added without default-features = false somewhere in the dependency tree.

std default

Enables std of color and kurbo

kurbo:

NOTE: Make sure to keep this in sync with the version badge in README.md

bytemuck

Enables bytemuck, bytemuck of color

libm

Enables libm of color and kurbo

mint

Enables mint of kurbo

serde

Enables serde and serde_bytes, serde of smallvec, serde of color and kurbo