Cargo Features

[dependencies]
peniko = { version = "0.6.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, kurbo, and linebender_resource_handle

kurbo:

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

bytemuck

Enables bytemuck, bytemuck of color

libm

Enables libm of color and kurbo

kurbo:

Use floating point implementations from libm

mint

Enables mint of kurbo

kurbo:

Enable From/Into conversion of Kurbo and [mint] types, enabling interoperability with other graphics libraries

serde

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

kurbo:

Implement serde::Deserialize and serde::Serialize on various types

Peniko has 6 features without comments.