[package] name = "avif-decode" version = "1.0.1" authors = ["Kornel "] categories = ["multimedia::images"] description = "Convert AVIF images to PNG or decompressed pixel data" homepage = "https://lib.rs/avif-decode" keywords = ["av1", "libaom", "decoder", "heif"] license = "BSD-3-Clause" readme = "README.md" repository = "https://github.com/kornelski/avif-decode" edition = "2021" rust-version = "1.76" [[bin]] name = "avif_decode" path = "src/main.rs" required-features = ["binary"] [dependencies] aom-decode = "0.2.10" rgb = "0.8.45" yuv = "0.1.7" avif-parse = "1.0.0" quick-error = "2.0.1" imgref = "1.10.1" owning_ref = "0.4.1" lodepng = { version = "3.10.3", optional = true } [features] default = ["binary"] binary = ["dep:lodepng"] # Use faster zlib (in C) when compressing PNG cfzlib = ["lodepng?/cfzlib"] # Use faster zlib (in C) when compressing PNG ngzlib = ["lodepng?/ngzlib"] [profile.dev] opt-level = 1 debug = "line-tables-only" [profile.release] opt-level = 3 lto = true [badges] maintenance = { status = "passively-maintained" } [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] rustdoc-args = ["--generate-link-to-definition"]