Cargo Features

[dependencies]
rimage = { version = "0.11.0-next.3", default-features = false, features = ["build-binary", "threads", "metadata", "resize", "quantization", "mozjpeg", "oxipng", "webp", "avif", "tiff", "icc", "console"] }
default = avif, metadata, mozjpeg, oxipng, quantization, resize, threads, tiff, webp

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

build-binary

Used for binary

Enables anyhow, clap, console, glob, indicatif, indicatif-log-bridge, indoc, pretty_env_logger, rayon, regex, zune-image, and zune-imageprocs

anyhow:

cli

Required by the binary

threads default

Enables utilization of threads

Enables threads of optional imagequant, parallel of optional mozjpeg and optional oxipng

metadata default

Enables metadata support

Enables kamadak-exif ^0.5.5, metadata of zune-image

resize default

Enables resize operation

Enables fast_image_resize ^3.0.4

Affects operations::resize

quantization default

Enables quantize operation

Enables imagequant and rgb

Affects operations::quantize

mozjpeg default

Enables mozjpeg codec

Enables mozjpeg

Affects codecs::mozjpeg

oxipng default

Enables oxipng codec

Enables oxipng

Affects codecs::oxipng

webp default

Enables webp codec

Enables webp

Affects codecs::webp

avif default

Enables avif codec

Enables libavif, ravif, and rgb

Affects codecs::avif

tiff default

Enables tiff codec

Enables tiff

Affects codecs::tiff

icc

Enables lcms2

Affects operations::icc

console

Enables console