Cargo Features
[dependencies]
libwebp-sys = { version = "0.11.0", default-features = false, features = ["std", "parallel", "neon", "sse41", "avx2"] }
- default = parallel, std
-
These default features are set whenever
libwebp-sys
is added without
somewhere in the dependency tree.default-features = false - std default
- parallel build default
- neon
-
ARM NEON SIMD (will crash on ARM CPUs without it)
- sse41
-
x64 SSE 4.1 (will crash on x86 CPUs without it)
- avx2
-
x64 AVX2 (will crash on x86 CPUs without it)