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