[build-dependencies.cc]
version = "1.1"
[build-dependencies.dunce]
version = "1.0.4"
[build-dependencies.nasm-rs]
optional = true
version = ">=0.2.5, <0.4"
[dependencies.libc]
version = "0.2.150"
[dev-dependencies.arrayvec]
version = "0.7.4"
[dev-dependencies.cloudflare-soos]
version = "2.3"
[features]
arith_dec = []
arith_enc = []
default = ["parallel", "unwinding", "nasm_simd"]
icc_io = []
jpeg70_abi = ["arith_dec", "arith_enc"]
jpeg80_abi = ["jpeg70_abi"]
jpegtran = []
nasm_simd = ["with_simd", "dep:nasm-rs"]
nasm_simd_parallel_build = ["nasm_simd", "parallel"]
parallel = ["cc/parallel", "nasm-rs?/parallel"]
turbojpeg_api = ["jpegtran"]
unwinding = []
with_simd = []
[lib]
crate-type = ["staticlib", "lib"]
name = "mozjpeg_sys"
path = "src/lib.rs"
[package]
authors = ["Kornel <kornel@geekhood.net>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = "src/build.rs"
categories = ["external-ffi-bindings", "multimedia::images"]
description = """
FFI bindings for MozJPEG v4.
MozJPEG is automatically built and linked statically. Requires nasm and a C compiler."""
documentation = "https://github.com/mozilla/mozjpeg#readme"
edition = "2021"
homepage = "https://lib.rs/crates/mozjpeg-sys"
include = ["/src/*.rs", "/vendor/*.c", "LICENSE", "/vendor/*.h", "/vendor/simd/**", "/Cargo.toml", "/README.md"]
keywords = ["JPEG", "mozjpeg", "libjpeg", "static"]
license = "IJG AND Zlib AND BSD-3-Clause"
links = "jpeg"
name = "mozjpeg-sys"
readme = "README.md"
repository = "https://github.com/kornelski/mozjpeg-sys.git"
rust-version = "1.71"
version = "2.2.2"
[package.metadata.docs.rs]
rustdoc-args = ["--generate-link-to-definition"]
targets = ["x86_64-unknown-linux-gnu"]