Cargo Features

[dependencies]
rasterize = { version = "0.4.3", default-features = false, features = ["simd", "serde", "png"] }
default = serde, simd

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

simd default
serde default

Enables serde and serde_json

Affects color::RGBADeserializer, rasterize::Paint.to_json

Features from optional dependencies

png implicit feature

Enables png

png:

PNG decoding and encoding library in pure Rust

Affects image::Image.write_png