Cargo Features
[dependencies]
imageun = { version = "0.0.0", default-features = false, features = ["default-formats", "avif", "bmp", "dds", "exr", "ff", "gif", "hdr", "ico", "jpeg", "png", "pnm", "qoi", "tga", "tiff", "webp", "rayon", "nasm", "color_quant", "avif-native", "benchmarks"] }
- default = default-formats, rayon
-
These default features are set whenever
imageun
is added without
somewhere in the dependency tree.default-features = false - default-formats default = avif, bmp, dds, exr, ff, gif, hdr, ico, jpeg, png, pnm, qoi, tga, tiff, webp
-
Format features
- avif default-formats
-
Affects
imageun::codecs.avif
… - bmp default-formats ico?
-
Affects
imageun::codecs.bmp
… - dds default-formats
-
Affects
imageun::codecs.dds
… - exr default-formats
-
Enables exr
Affects
imageun::codecs.openexr
… - ff default-formats
-
Farbfeld image format
Affects
imageun::codecs.farbfeld
… - gif default-formats
-
Enables color_quant and gif
color_quant:
Optional dependencies
Affects
imageun::codecs.gif
… - hdr default-formats
-
Affects
imageun::codecs.hdr
… - ico default-formats = bmp, png
-
Affects
imageun::codecs.ico
… - jpeg default-formats
-
Enables zune-core and zune-jpeg
Affects
imageun::codecs.jpeg
… - png default-formats ico?
-
Enables png
Affects
imageun::codecs.png
… - pnm default-formats
-
Affects
imageun::codecs.pnm
… - qoi default-formats
-
Enables qoi
Affects
imageun::codecs.qoi
… - tga default-formats
-
Affects
imageun::codecs.tga
… - tiff default-formats
-
Enables tiff
Affects
imageun::codecs.tiff
… - webp default-formats
-
Enables image-webp ^0.1.0
Affects
imageun::codecs.webp
… - rayon default
-
Other features
Enables multi-threadingEnables rayon
- nasm
-
Enables use of nasm by rav1e (requires nasm to be installed)
- color_quant
-
Enables color quantization
Enables color_quant
- avif-native
-
Enable native dependency libdav1d
Enables dav1d, dcv-color-primitives, and mp4parse
Affects
imageun::codecs.avif
… - benchmarks
-
Build some inline benchmarks. Useful only during development (requires nightly Rust)