# 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.72" name = "load_image" version = "3.2.1" authors = ["Kornel "] build = false include = [ "src/*.rs", "src/*.icc", "Cargo.toml", "COPYING", "README.md", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Load PNG or JPEG with color profile support" homepage = "https://imageoptim.com/api" readme = "README.md" keywords = ["load_image"] categories = ["multimedia::images"] license = "GPL-3.0+" repository = "https://gitlab.com/kornelski/load_image" [package.metadata.docs.rs] rustdoc-args = ["--generate-link-to-definition"] targets = ["x86_64-unknown-linux-gnu"] [lib] name = "load_image" path = "src/lib.rs" doctest = false [dependencies.aom-decode] version = "0.2.10" features = ["avif"] optional = true [dependencies.bytemuck] version = "1.16.3" [dependencies.imgref] version = "1.10.1" [dependencies.jpeg-decoder] version = "0.3.1" optional = true [dependencies.lcms2] version = "6.1.0" [dependencies.libwebp] version = "0.1.2" features = ["1_1"] optional = true [dependencies.lodepng] version = "3.10.7" [dependencies.mozjpeg] version = "0.10" optional = true [dependencies.quick-error] version = "2.0.1" [dependencies.rexif] version = "0.7.4" optional = true [dependencies.rgb] version = "0.8.50" features = ["bytemuck"] default-features = false [features] avif = ["dep:aom-decode"] default = ["jpeg"] jpeg = [ "dep:jpeg-decoder", "dep:rexif", ] lcms2-static = ["lcms2/static"] mozjpeg = [ "dep:mozjpeg", "dep:rexif", ] stat = [] static = [ "lcms2-static", "libwebp?/static", ] webp = ["dep:libwebp"] webp-static = [ "webp", "libwebp?/static", ] [badges.maintenance] status = "actively-developed"