#webp #vp8 #image #webm #compression

webp-dev

Rust bindings to libwebp (plus related) and some other miscellaneous stuff

9 releases (4 breaking)

0.4.1 Dec 19, 2019
0.4.0 Dec 1, 2019
0.3.0 Dec 1, 2019
0.2.0 Dec 1, 2019
0.0.4 Nov 4, 2019

#13 in #webm


Used in imager

MIT license

3.5MB
1K SLoC

About

Rust bindings to libwebp, libwebpdemux, and workarounds for static/inline C functions and some other miscellaneous stuff.

Much of the API doc comments from the C header files have been included with their rust FFI counterparts.

Modules raw & sys

Raw, unaltered symbols are under the raw module. Also most of the raw symbols are re-exported under the sys module, with more idiomatic rust naming conventions. E.g. the WebPValidateConfig function is renamed to webp_validate_config.

Dependencies

~4.5–7.5MB
~129K SLoC