Cargo Features
[dependencies]
libwebp-sys = { version = "0.14.2", default-features = false, features = ["std", "parallel", "neon", "sse41", "avx2", "system-dylib", "generate-bindings"] }
- default = parallel, std
-
These default features are set whenever
libwebp-sysis added withoutsomewhere 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)
- system-dylib
-
Use the system-installed dylib instead of compiling a static library from the vendor
- generate-bindings build
-
Generate ffi.rs based on the compile target
Enables bindgen