# 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 believe there's an error in this file please file an
# issue against the rust-lang/cargo repository. If you're
# editing this file be aware that the upstream Cargo.toml
# will likely look very different (and much more reasonable)

[package]
edition = "2018"
name = "image2"
version = "1.0.0-beta.3"
authors = ["Zach Shipko <zachshipko@gmail.com>"]
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]
default-features = false
features = ["docs-rs"]

[[example]]
name = "window"
required-features = ["window"]
[dependencies.cpp]
version = "0.5"
optional = true

[dependencies.euclid]
version = "0.22"

[dependencies.gl]
version = "0.14"
optional = true

[dependencies.glutin]
version = "0.26"
optional = true

[dependencies.half]
version = "1"

[dependencies.halide-runtime]
version = "0.5"
optional = true

[dependencies.rayon]
version = "1"
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", "window"]
docs-rs = ["window", "parallel", "halide"]
halide = ["halide-runtime"]
oiio = ["cpp", "cpp_build"]
parallel = ["rayon"]
window = ["gl", "glutin"]
