# 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 = "libcaesium" version = "0.17.0" authors = ["Matteo Paonessa "] build = false exclude = [ "tests/*", ".github/*", ".idea/*", ] autobins = false autoexamples = false autotests = false autobenches = false description = "A lossy/lossless image compression library." homepage = "https://github.com/Lymphatus/libcaesium" readme = "README.md" keywords = [ "compression", "jpeg", "png", "gif", "webp", ] categories = ["multimedia::images"] license = "Apache-2.0" repository = "https://github.com/Lymphatus/libcaesium" [lib] name = "caesium" crate-type = [ "lib", "cdylib", ] path = "src/lib.rs" test = true doctest = false bench = false doc = false [[example]] name = "basic" path = "examples/basic.rs" [[example]] name = "convert" path = "examples/convert.rs" [[example]] name = "size" path = "examples/size.rs" [dependencies.bytes] version = "1.7" [dependencies.gifsicle] version = "1.95" optional = true [dependencies.image] version = "0.25.1" default-features = false [dependencies.imagequant] version = "4.3" optional = true default-features = false [dependencies.img-parts] version = "0.3" [dependencies.infer] version = "0.16.0" [dependencies.kamadak-exif] version = "0.5" [dependencies.libc] version = "0.2" [dependencies.lodepng] version = "3.10" optional = true [dependencies.mozjpeg-sys] version = "2.2" optional = true [dependencies.oxipng] version = "9.0" features = [ "filetime", "zopfli", ] optional = true default-features = false [dependencies.tiff] version = "0.9" [dependencies.webp] version = "0.3.0" optional = true [dev-dependencies.dssim] version = "3.3" features = ["no-macos-vimage"] default-features = false [features] default = [ "jpg", "png", "webp", "gif", "tiff", "parallel", ] gif = [ "dep:gifsicle", "image/gif", ] jpg = [ "dep:mozjpeg-sys", "image/jpeg", ] parallel = [ "oxipng?/parallel", "imagequant?/threads", "dssim/threads", ] png = [ "dep:oxipng", "dep:lodepng", "dep:imagequant", "image/png", ] tiff = ["image/tiff"] webp = [ "dep:webp", "image/webp", ]