Cargo Features

[dependencies]
krilla = { version = "0.4.0", default-features = false, features = ["comemo", "rayon", "simple-text", "raster-images"] }
default = raster-images, simple-text

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

comemo

Enable global caching of certain objects

Enables comemo

rayon

Allow for multi-threaded PDF creation.

Enables rayon

simple-text default

Allow for rendering simple text without having to shape it yourself.

Enables rustybuzz

raster-images default

Allow for adding raster images to your document.

Enables gif, image-webp, imagesize, png, and zune-jpeg

Affects graphics::image