Cargo Features
[dependencies]
peniko = { version = "0.6.0", default-features = false, features = ["std", "bytemuck", "libm", "mint", "serde"] }
- default = std
-
The
stdfeature is set by default wheneverpenikois added withoutsomewhere in the dependency tree.default-features = false - 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
- libm
-
Enables libm of color and kurbo
kurbo:
Use floating point implementations from libm
- mint
-
kurbo:
Enable
From/Intoconversion 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::Deserializeandserde::Serializeon various types
Peniko has 6 features without comments.