# 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 believe there's an error in this file please file an
# issue against the rust-lang/cargo repository. If you're
# editing this file be aware that the upstream Cargo.toml
# will likely look very different (and much more reasonable)

[package]
edition = "2018"
name = "imagequant-sys"
version = "3.0.4-alpha.2"
authors = ["Kornel Lesiński <kornel@pngquant.org>"]
build = "rust-sys/build.rs"
links = "imagequant"
include = ["COPYRIGHT", "rust-sys/*", "*.c", "*.h", "README.md", "Cargo.toml"]
description = "Statically linked C part of imagequant library powering tools such as pngquant.\n\nThis library is dual-licensed like pngquant: either GPL or a commercial license. See website for details: https://pngquant.org"
homepage = "https://pngquant.org/lib"
readme = "README.md"
keywords = ["pngquant"]
categories = ["external-ffi-bindings"]
license = "GPL-3.0+"
repository = "https://github.com/ImageOptim/libimagequant"

[lib]
name = "imagequant_sys"
crate-type = ["cdylib", "staticlib", "lib"]
path = "rust-sys/libimagequant.rs"
doctest = false
[dependencies.bitflags]
version = "1.2.1"

[dependencies.openmp-sys]
version = "1.2.0-alpha.1"
optional = true

[dependencies.rgb]
version = "0.8.25"
[build-dependencies.cc]
version = "1.0.58"

[features]
default = ["sse"]
openmp = ["openmp-sys"]
openmp-static = ["openmp", "openmp-sys/static"]
sse = []
