ferrisma-libwebp 0.1.0

A mechanical Rust port of libwebp, the WebP reference implementation
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! Safe Rust API over the translation, separate from the C ABI in [`crate::abi`].
//!
//! [`encode`] wraps the encoder (WP17, `docs/adr/0006-safe-encoder-api.md`) and
//! [`decode`] the decoder (WP16). The API validates its input before it calls
//! the translation, returns `Result` errors and adds no codec behavior: an
//! encoding is byte-identical to the translated `WebPEncode` with the same
//! configuration. Each module's header names the work package that owns it.
//! WP17 added this file and the module list in `tools/units.json`; work
//! packages do not edit it.

pub mod decode;
pub mod encode;