This is a raw interface to the libwebp library.
Rust 1.85.0
std(default) ... enablesstd-dependent functions. This feature merely exists for future extension. Currently, you always need to set this feature.demux... enableslibwebpdemuxfunctions.mux... enableslibwebpmuxfunctions.0_5(default) ... enables functions introduced in libwebp 0.5.0.0_6(default) ... enables functions introduced in libwebp 0.6.0.1_1(default) ... enables functions introduced in libwebp 1.1.0.1_2(default) ... enables functions introduced in libwebp 1.2.0.1_4... enables functions introduced in libwebp 1.4.0.1_5... enables functions introduced in libwebp 1.5.0.static... statically link against the bundled libwebp.extern-types... enables#![feature(extern_types)].
If libwebp is found in the system, it links against the library. Otherwise it builds and links against the bundled libwebp.
In these cases, static link is preferred:
- For musl target.
- When cross-compiling.
staticfeature is turned on.LIBWEBP_SYS_STATICenvironment variable is set to1when building.