docs.rs failed to build libwebp-sys-0.13.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
libwebp-sys-0.12.1
libwebp-sys
bindgen'd FFI bindings to libwebp.
libwebp is built with the cc
crate. It needs a C compiler, but cmake
is not used.
Set RUSTFLAGS="-Ctarget-cpu=native"
or your desired CPU architecture to optimize the C code for it.
Usage
Add the following to the Cargo.toml
in your project:
[]
= "0.13"
or to require no_std
support:
= { = "0.12", = false, = ["parallel"] }
The neon
, sse41
and avx2
feature flags can be set to force support for Neon, SSE 4.1 and AVX2
respectively, but this is usually unnecessary as it can be set through
-Ctarget-feature
(e.g. RUSTFLAGS="-Ctarget-feature=avx2"
) as well.
Examples
Encode
Decode