# 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 = "imagequant-sys" version = "4.0.3" authors = ["Kornel Lesiński "] build = "build.rs" links = "imagequant" include = [ "COPYRIGHT", "src/*.rs", "build.rs", "*.h", "README.md", "Cargo.toml", ] description = """ Convert 24/32-bit images to 8-bit palette with alpha channel. C API/FFI libimagequant that powers pngquant lossy PNG compressor. Dual-licensed like pngquant. See https://pngquant.org for details.""" homepage = "https://pngquant.org/lib" documentation = "https://docs.rs/imagequant" readme = "README.md" keywords = [ "quantization", "palette", "image", "dither", "quant", ] categories = ["multimedia::images"] license = "GPL-3.0-or-later" repository = "https://github.com/ImageOptim/libimagequant" [package.metadata.capi.header] generation = false name = "libimagequant" subdirectory = "" [[package.metadata.capi.install.include.asset]] from = "libimagequant.h" [package.metadata.capi.library] name = "imagequant" version = "0.0.4" [package.metadata.capi.pkg_config] description = "Convert 24/32-bit images to 8-bit palette with alpha channel." filename = "imagequant" name = "imagequant" [package.metadata.release] consolidate-commits = true tag-message = "" tag-name = "{{version}}" tag-prefix = "" [lib] name = "imagequant_sys" crate-type = [ "staticlib", "lib", ] path = "src/ffi.rs" doctest = false [dependencies.bitflags] version = "2.0" [dependencies.imagequant] version = "4.2.1" features = ["_internal_c_ffi"] default-features = false [dependencies.libc] version = "0.2.112" [features] capi = [] default = ["imagequant/default"] threads = ["imagequant/threads"]