webp icon indicating copy to clipboard operation
webp copied to clipboard

Replacing libwebp-sys crate

Open ghost opened this issue 2 years ago • 2 comments

I created a crate that downloads pre-built libwebp binary files from Google and links to them. By doing this, we effectively avoid any potential issues with local builds, including upstream changes breaking the build. https://github.com/zzwxh/webp_encoder

ghost avatar Oct 16 '23 20:10 ghost

This crate currently does not meet the requirements, but if you're interested, I can continue.

ghost avatar Oct 16 '23 20:10 ghost

Advantages:

  1. No need to maintain a specific build system (cc-rs, cmake, etc.) by yourself.
  2. Can automate all the work using a CI/CD pipeline.

Disadvantages:

  1. Some users may not prefer binary distribution.
  2. Google's provided build only supports mainstream platforms.

ghost avatar Oct 16 '23 20:10 ghost