# 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.65" name = "imagequant" version = "4.3.3" authors = ["Kornel Lesiński "] build = false include = [ "COPYRIGHT", "src/*.rs", "*.h", "README.md", "Cargo.toml", ] autobins = false autoexamples = false autotests = false autobenches = false description = """ Convert 24/32-bit images to 8-bit palette with alpha channel. For lossy PNG compression and high-quality GIF images 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", "pngquant", "compression", "gif", ] categories = ["multimedia::images"] license = "GPL-3.0-or-later" repository = "https://github.com/ImageOptim/libimagequant" [package.metadata.release] consolidate-commits = true tag-message = "" tag-name = "{{version}}" tag-prefix = "" [profile.release] debug = 0 panic = "abort" [lib] name = "imagequant" path = "src/lib.rs" doctest = false [dependencies.arrayvec] version = "0.7.4" [dependencies.once_cell] version = "1.19.0" [dependencies.rayon] version = "1.10.0" optional = true [dependencies.rgb] version = "0.8.47" features = ["bytemuck"] default-features = false [dependencies.thread_local] version = "1.1.8" optional = true [dev-dependencies.lodepng] version = "3.10" [features] _internal_c_ffi = [] default = ["threads"] large_palettes = [] threads = [ "dep:rayon", "dep:thread_local", ]