# 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 = "mozjpeg-sys"
version = "0.10.12"
authors = ["Kornel <kornel@geekhood.net>"]
build = "src/build.rs"
links = "jpeg"
include = ["/src/*.rs", "/vendor/*.c", "/vendor/*.h", "/vendor/simd/**", "/Cargo.toml", "/README.md"]
description = "FFI bindings for MozJPEG v4.\n\nMozJPEG is automatically built and linked statically. Requires nasm and a C compiler."
homepage = "https://lib.rs/mozjpeg-sys"
readme = "README.md"
keywords = ["JPEG", "mozjpeg", "libjpeg", "static"]
categories = ["external-ffi-bindings", "multimedia::images"]
license = "IJG"
repository = "https://github.com/kornelski/mozjpeg-sys.git"
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]

[lib]
name = "mozjpeg_sys"
crate-type = ["staticlib", "lib"]

[[example]]
name = "reencode"
path = "examples/reencode.rs"
[dependencies.libc]
version = "0.2.68"
[build-dependencies.cc]
version = "1.0.50"
features = ["parallel"]

[build-dependencies.dunce]
version = "1.0.1"

[build-dependencies.nasm-rs]
version = "0.2.0"
optional = true

[features]
arith_dec = []
arith_enc = []
default = ["nasm_simd"]
jpeg70_abi = ["arith_dec", "arith_enc"]
jpeg80_abi = ["jpeg70_abi"]
jpegtran = []
nasm_simd = ["with_simd", "nasm-rs", "nasm-rs/parallel"]
turbojpeg_api = ["jpegtran"]
unwinding = []
with_simd = []
[badges.travis-ci]
repository = "kornelski/mozjpeg-sys"
