# 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 = "ril" version = "0.10.3" authors = ["jay3332"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Rust Imaging Library: A performant and high-level image processing crate for Rust" homepage = "https://github.com/jay3332/ril" readme = "README.md" keywords = [ "ril", "imaging", "image", "processing", "editing", ] categories = [ "encoding", "graphics", "multimedia", "visualization", ] license = "MIT" repository = "https://github.com/jay3332/ril" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "ril" path = "src/lib.rs" [[test]] name = "test_gif" path = "tests/test_gif.rs" [[test]] name = "test_jpeg" path = "tests/test_jpeg.rs" [[test]] name = "test_png" path = "tests/test_png.rs" [[test]] name = "test_text" path = "tests/test_text.rs" [[test]] name = "test_webp" path = "tests/test_webp.rs" [[bench]] name = "invert" path = "benches/invert.rs" harness = false [[bench]] name = "invert_comparison" path = "benches/invert_comparison.rs" harness = false [[bench]] name = "resize_comparison" path = "benches/resize_comparison.rs" harness = false [[bench]] name = "text_comparison" path = "benches/text_comparison.rs" harness = false [dependencies.color_quant] version = "^1.1" optional = true [dependencies.colorgrad] version = "^0.6" optional = true default-features = false [dependencies.fast_image_resize] version = "^4.0" optional = true [dependencies.fontdue] version = "^0.7" optional = true [dependencies.gif] version = "^0.13" optional = true [dependencies.jpeg-decoder] version = "^0.3" optional = true [dependencies.jpeg-encoder] version = "^0.6" features = ["simd"] optional = true [dependencies.libwebp-sys2] version = "^0.1" features = [ "1_2", "mux", "demux", ] optional = true [dependencies.num-traits] version = "0.2" [dependencies.png] version = "^0.17" optional = true [dev-dependencies.criterion] version = "^0.4" [dev-dependencies.image] version = "^0" [dev-dependencies.imageproc] version = "^0.23" [dev-dependencies.rusttype] version = "^0.9" [features] all = [ "all-pure", "webp", ] all-pure = [ "resize", "png", "jpeg", "gif", "text", "quantize", ] default = [ "resize", "text", "quantize", "gradient", ] gif = ["dep:gif"] gradient = ["dep:colorgrad"] jpeg = [ "dep:jpeg-decoder", "dep:jpeg-encoder", ] png = ["dep:png"] quantize = ["dep:color_quant"] resize = ["dep:fast_image_resize"] static = ["libwebp-sys2?/static"] text = ["dep:fontdue"] webp = ["dep:libwebp-sys2"]