Cargo Features

[dependencies]
zune-image = { version = "0.5.0-rc0", default-features = false, features = ["log", "ppm", "jpeg", "png", "psd", "farbfeld", "qoi", "jpeg-xl", "hdr", "bmp", "serde-support", "image_formats", "metadata", "threads", "simd", "all"] }
log all

Single based image decoders and encoders

Enables log of zune-core

Core primitives

ppm image_formats? = zune-ppm
jpeg image_formats? = jpeg-encoder, zune-jpeg
png image_formats? = zune-png
psd image_formats? = zune-psd
farbfeld image_formats? = zune-farbfeld
qoi image_formats? = zune-qoi
jpeg-xl image_formats? = jxl-oxide, zune-jpegxl
hdr image_formats? = zune-hdr
bmp image_formats? = zune-bmp
serde-support all = serde

Serde serialization support

Enables serde of zune-core

image_formats all = bmp, farbfeld, hdr, jpeg, jpeg-xl, png, ppm, psd, qoi

All image formats

metadata all = kamadak-exif

External crates that help us handle metadata

default = all

Every supported thing

threads all

Whether to use threads or not for some operations

Enables threads of zune-jpegxl

simd all

Simd support

Enables x86 of zune-jpeg and sse of zune-png

Images

all default = image_formats, log, metadata, serde-support, simd, threads

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

zune-png png? simd?
zune-jpeg jpeg? simd?
zune-ppm ppm?
zune-psd psd?
zune-farbfeld farbfeld?
zune-qoi qoi?
zune-jpegxl jpeg-xl? threads?
zune-hdr hdr?
zune-bmp bmp?
serde serde-support?

Enables serde

Serializing info

jpeg-encoder jpeg?

Enables jpeg-encoder

External image APIs

jxl-oxide jpeg-xl?

Enables jxl-oxide ^0.8.0

kamadak-exif metadata?

Enables kamadak-exif ^0.5.5

metadata