# 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" name = "turbojpeg" version = "1.1.1" authors = ["Jan Špaček "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Fast and easy JPEG encoding, decoding and lossless transforms with TurboJPEG" homepage = "https://github.com/honzasp/rust-turbojpeg" documentation = "https://docs.rs/turbojpeg" readme = "README.md" keywords = [ "jpeg", "image", "decoder", "encoder", "transform", ] categories = [ "compression", "api-bindings", "multimedia::images", ] license = "Unlicense OR MIT" repository = "https://github.com/honzasp/rust-turbojpeg" resolver = "2" [package.metadata.docs.rs] features = ["image"] rustc-args = [ "--cfg", "docsrs", ] [lib] name = "turbojpeg" path = "src/lib.rs" doctest = true [[example]] name = "cjpeg" path = "examples/cjpeg.rs" [[example]] name = "compressor" path = "examples/compressor.rs" [[example]] name = "decompressor" path = "examples/decompressor.rs" [[example]] name = "djpeg" path = "examples/djpeg.rs" [[example]] name = "image" path = "examples/image.rs" required-features = ["image"] [[example]] name = "jpegtran" path = "examples/jpegtran.rs" [dependencies.image] version = ">= 0.24, < 0.26" optional = true default-features = false [dependencies.libc] version = "^0.2" [dependencies.thiserror] version = "^1.0" [dependencies.turbojpeg-sys] version = "^1.0.0" default-features = false [dev-dependencies.anyhow] version = "1.0" [dev-dependencies.clap] version = "2.33" [dev-dependencies.image] version = "^0.24" features = [ "jpeg", "png", "bmp", "pnm", ] [features] bindgen = ["turbojpeg-sys/bindgen"] cmake = ["turbojpeg-sys/cmake"] default = [ "cmake", "pkg-config", "require-simd", ] pkg-config = ["turbojpeg-sys/pkg-config"] require-simd = ["turbojpeg-sys/require-simd"]