# 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 = "rimage" version = "0.11.0-next.3" authors = ["Vladyslav Vladinov "] build = false include = [ "/README.md", "/Cargo.toml", "/src/**/*.rs", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Optimize images natively with best-in-class codecs" homepage = "https://lib.rs/rimage" documentation = "https://docs.rs/rimage" readme = "README.md" keywords = [ "image", "compression", "encoder", ] categories = [ "compression", "multimedia::images", ] license = "MIT OR Apache-2.0" repository = "https://github.com/SalOne22/rimage" [package.metadata.winres] FileDescription = "Powerful img optimization CLI tool by Rust" LegalCopyright = "Copyright Vladyslav Vladinov © 2024" [profile.release] lto = true codegen-units = 1 panic = "abort" strip = true [lib] name = "rimage" path = "src/lib.rs" [[bin]] name = "rimage" path = "src/main.rs" required-features = ["build-binary"] [dependencies.anyhow] version = "1.0.86" optional = true [dependencies.clap] version = "4.5.16" features = [ "cargo", "string", ] optional = true [dependencies.console] version = "0.15.8" optional = true [dependencies.fast_image_resize] version = "3.0.4" optional = true [dependencies.imagequant] version = "4.3.3" optional = true default-features = false [dependencies.indicatif] version = "0.17.8" features = ["rayon"] optional = true [dependencies.indicatif-log-bridge] version = "0.2.2" optional = true [dependencies.indoc] version = "2.0.5" optional = true [dependencies.kamadak-exif] version = "0.5.5" optional = true [dependencies.lcms2] version = "6.1.0" optional = true [dependencies.libavif] version = "0.14.0" features = ["codec-aom"] optional = true default-features = false [dependencies.log] version = "0.4.22" [dependencies.mozjpeg] version = "0.10.9" features = ["with_simd"] optional = true default-features = false [dependencies.oxipng] version = "9.1" features = [ "zopfli", "filetime", ] optional = true default-features = false [dependencies.pretty_env_logger] version = "0.5.0" optional = true [dependencies.ravif] version = "0.11.10" optional = true [dependencies.rayon] version = "1.10.0" optional = true [dependencies.regex] version = "1.10.6" optional = true [dependencies.rgb] version = "0.8.45" optional = true [dependencies.tiff] version = "0.9.1" optional = true default-features = false [dependencies.webp] version = "0.3.0" optional = true default-features = false [dependencies.zune-core] version = "0.5.0-rc2" [dependencies.zune-image] version = "0.5.0-rc0" default-features = false [dependencies.zune-imageprocs] version = "0.5.0-rc0" features = ["exif"] optional = true [dev-dependencies.zune-core] version = "0.5.0-rc2" features = ["std"] [dev-dependencies.zune-image] version = "0.5.0-rc0" [build-dependencies.winres] version = "0.1.12" default-features = false [features] avif = [ "dep:ravif", "dep:libavif", "dep:rgb", ] build-binary = [ "dep:anyhow", "dep:clap", "dep:indoc", "dep:rayon", "dep:pretty_env_logger", "dep:zune-imageprocs", "dep:glob", "zune-image/default", "dep:indicatif", "dep:indicatif-log-bridge", "dep:console", "dep:regex", ] console = ["dep:console"] default = [ "resize", "quantization", "mozjpeg", "oxipng", "webp", "avif", "tiff", "threads", "metadata", ] icc = ["dep:lcms2"] metadata = [ "dep:kamadak-exif", "zune-image/metadata", ] mozjpeg = ["dep:mozjpeg"] oxipng = ["dep:oxipng"] quantization = [ "dep:imagequant", "dep:rgb", ] resize = ["dep:fast_image_resize"] threads = [ "imagequant?/threads", "mozjpeg?/parallel", "oxipng?/parallel", ] tiff = ["dep:tiff"] webp = ["dep:webp"] [target."cfg(windows)".dependencies.glob] version = "0.3.1" optional = true