# 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 = "image2" version = "1.9.2" authors = ["Zach Shipko "] links = "OpenImageIO" description = "A simple image processing library" documentation = "https://docs.rs/image2" readme = "README.md" keywords = [ "image", "image-processing", ] license = "ISC" repository = "https://github.com/zshipko/image2-rs" [package.metadata.docs.rs] no-default-features = true features = [ "window", "parallel", "serialize", "mmap", "text", ] [[example]] name = "window" required-features = ["window"] [dependencies.cpp] version = "0.5" optional = true [dependencies.euclid] version = "0.22" [dependencies.glfw] version = "0.51" optional = true default-features = false [dependencies.glow] version = "0.12" optional = true [dependencies.half] version = "2" [dependencies.memmap2] version = "0.5" optional = true [dependencies.rayon] version = "1" optional = true [dependencies.rusttype] version = "0.9" optional = true [dependencies.serde] version = "1" features = ["derive"] optional = true [dependencies.thiserror] version = "1" [dev-dependencies.smol] version = "1" [build-dependencies.cpp_build] version = "0.5" optional = true [features] default = [ "oiio", "parallel", "text", "mmap", ] glfw-sys = ["glfw/glfw-sys"] magick = [] mmap = ["memmap2"] oiio = [ "cpp", "cpp_build", ] oiio-custom = [ "cpp", "cpp_build", ] opengl = ["glow"] parallel = ["rayon"] serialize = [ "serde", "euclid/serde", ] text = ["rusttype"] window = [ "opengl", "glfw", ]