Crate features / image
Feature flags · image 0.25.10 · from crates.io 2026-10-24
image features: what each one does, and the line to copy
Short answerimage 0.25.10 has 22 features. By default it turns on rayon, default-formats; add default-features = false to start from nothing. It needs Rust 1.88.0 or newer.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
avif | dep:ravif, dep:rgb | |
avif-native | dep:mp4parse, dep:dav1d | |
benchmarks | nothing else (a switch the code checks) | |
bmp | nothing else (a switch the code checks) | |
color_quant | dep:color_quant | |
dds | nothing else (a switch the code checks) | |
default-formats | yes | avif, bmp, dds, exr, ff, gif, hdr, ico, jpeg, png, pnm, qoi, tga, tiff, webp |
exr | dep:exr | |
ff | nothing else (a switch the code checks) | |
gif | dep:gif, dep:color_quant | |
hdr | nothing else (a switch the code checks) | |
ico | bmp, png | |
jpeg | dep:zune-core, dep:zune-jpeg | |
nasm | ravif?/asm | |
png | dep:png | |
pnm | nothing else (a switch the code checks) | |
qoi | dep:qoi | |
rayon | yes | dep:rayon, ravif?/threading, exr?/rayon |
serde | dep:serde | |
tga | nothing else (a switch the code checks) | |
tiff | dep:tiff | |
webp | dep:image-webp |
dep:x turns on the optional dependency x; x/y turns on feature y of dependency x (with ?, only if x is already on).
MSRV history
The minimum Rust version image declares (rust-version), and the release that changed it:
- 0.24.0 (2022-01-31): Rust 1.56
- 0.24.4 (2022-09-25): Rust 1.56.1
- 0.24.5 (2022-11-11): Rust 1.61.0
- 0.24.9 (2024-02-23): Rust 1.63.0
- 0.25.0-preview.0 (2024-02-25): Rust 1.67.1
- 0.25.5 (2024-11-05): Rust 1.70.0
- 0.25.8 (2025-09-03): Rust 1.85.0
- 0.25.10 (2026-03-10): Rust 1.88.0
Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p image --precise <version>, or use resolver 3, which picks compatible versions for you.
More on image
Real downloads, dependents and alternatives: image crate data (735.1K real downloads a day, 7,367 dependents).
Security record: image advisories.
docs.rs feature list · crates.io · license MIT OR Apache-2.0 · edition 2021
Up next
Before you depend on itimage crate dataReal downloads, dependents, alternatives.Read it next →Did this answer your question?