# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.63" name = "pngquant" version = "3.0.3" authors = ["Kornel Lesiński "] build = "rust/build.rs" include = [ "/rwpng*.[ch]", "/pngquant.c", "/pngquant_opts.[ch]", "/rust/*.rs", "/COPYRIGHT", "/Cargo.toml", "/README.md", ] description = "Convert 24/32-bit PNG images to efficient 8-bit format with alpha channel" homepage = "https://pngquant.org" documentation = "https://github.com/kornelski/pngquant#readme" readme = "README.md" keywords = [ "quantization", "palette", "image", "pngquant", "compression", ] categories = ["multimedia::images"] license = "GPL-3.0-or-later" repository = "https://github.com/kornelski/pngquant.git" [package.metadata.docs.rs] rustdoc-args = ["--generate-link-to-definition"] targets = ["x86_64-unknown-linux-gnu"] [profile.release] opt-level = 3 lto = true codegen-units = 1 panic = "abort" [[bin]] name = "pngquant" path = "rust/bin.rs" [dependencies.cocoa_image] version = "1.0.6" optional = true [dependencies.getopts] version = "0.2.21" [dependencies.imagequant-sys] version = "4.0.3" [dependencies.lcms2-sys] version = "4.0.3" optional = true [dependencies.libc] version = "0.2.112" [dependencies.libpng-sys] version = "1.1.9" [dependencies.wild] version = "2.2.0" [build-dependencies.cc] version = "1.0.72" [build-dependencies.dunce] version = "1.0.4" [features] cocoa = ["dep:cocoa_image"] default = ["lcms2"] lcms2 = ["dep:lcms2-sys"] lcms2-static = [ "lcms2", "lcms2-sys?/static", ] png-static = ["libpng-sys/static"] static = [ "lcms2-static", "png-static", ] z-static = ["libpng-sys/static-libz"]