Cargo Features

MozJPEG has no features set by default.

[dependencies]
mozjpeg = { version = "0.10.12", features = ["parallel", "nasm_simd", "with_simd"] }
default

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

Enables mozjpeg-sys

parallel

Enables parallel of mozjpeg-sys

mozjpeg-sys:

May compile native dependencies quicker

nasm_simd

Enables nasm_simd of mozjpeg-sys

mozjpeg-sys:

nasm is required for x86, but not ARM

with_simd

Enables with_simd of mozjpeg-sys

mozjpeg-sys:

Use SIMD-optimized assembly on ARM and other non-Intel platforms.

MozJPEG has 4 features without comments.