libwebp-sys 0.1.0

Bindings to libwebp (bindgen, static linking)
Documentation
1
2
3
4
5
6
7
8
extern crate cmake;
use cmake::Config;

fn main() {
    let dst = Config::new("libwebp").build_target("webp").build();
    println!("cargo:rustc-link-search=native={}/build", dst.display());
    println!("cargo:rustc-link-lib=static=webp");
}