Skip to main content

Module compat

Module compat 

Source
Expand description

Compatibility shims for migration from other WebP crates.

These modules provide API-compatible wrappers to ease migration from:

§Migration Example

// Before (webp crate)
use webp::{Encoder, Decoder};

// After (webpx compat)
use webpx::compat::webp::{Encoder, Decoder};

Modules§

webp
Compatibility shim for the webp crate (0.3.x).
webp_animation
Compatibility shim for the webp-animation crate (0.9.x).