While trying to use cavif-rs inside of a project that is compiled to WASM (wasm32-wasi to be specific), I encountered two issues. This PR fixes both. I'll add inline-code comments to highlight and explain both issues.
Thanks for making a AVIF image encoder in Rust!
(Some code was just moved, so I'd recommend to hide whitespace changes during review)
While trying to use
cavif-rs
inside of a project that is compiled to WASM (wasm32-wasi
to be specific), I encountered two issues. This PR fixes both. I'll add inline-code comments to highlight and explain both issues.Thanks for making a AVIF image encoder in Rust!
(Some code was just moved, so I'd recommend to hide whitespace changes during review)