Cargo Features
MozJPEG has no features set by default.
[dependencies]
mozjpeg = { version = "0.10.10", features = ["parallel", "nasm_simd", "with_simd"] }
- default
-
These default features are set whenever
mozjpeg
is added without
somewhere in the dependency tree.default-features = false 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.