[package]
name = "webpx"
version = "0.1.3"
edition = "2021"
rust-version = "1.80"
license = "MIT OR Apache-2.0"
description = "Complete WebP encoding/decoding with ICC profiles, streaming, and animation support"
repository = "https://github.com/imazen/webpx"
keywords = ["webp", "image", "codec", "icc", "animation"]
categories = ["multimedia::images", "multimedia::encoding"]
[features]
default = ["decode", "encode", "std"]
std = ["libwebp-sys/std"]
decode = []
encode = []
animation = []
icc = []
streaming = []
[dependencies]
libwebp-sys = "0.14.1"
rgb = "0.8.52"
imgref = "1.12.0"
enough = "0.3.1"
whereat = "0.1.3"
[dev-dependencies]
criterion = { version = "0.6", default-features = false, features = ["plotters", "cargo_bench_support"] }
image = "0.25"
[target.'cfg(not(target_family = "wasm"))'.dev-dependencies]
criterion = { version = "0.6", features = ["rayon"] }
[[bench]]
name = "codec"
harness = false
[[bench]]
name = "profile"
harness = false