[package]
name = "image"
version = "0.7.2"
license = "MIT"
description = "Imaging library written in Rust. Provides basic filters and decoders for the most common image formats."
authors = [
"ccgn",
"bvssvni <bvssvni@gmail.com>",
"nwin",
"TyOverby <ty@pre-alpha.com>"]
readme = "README.md"
documentation = "http://www.piston.rs/image/image/index.html"
repository = "https://github.com/PistonDevelopers/image.git"
homepage = "https://github.com/PistonDevelopers/image"
exclude = [
"src/png/testdata/*",
"examples/*",
"tests/*",
]
[lib]
name = "image"
path = "./src/lib.rs"
[dependencies]
byteorder = "0.4.0"
num = "0.1.27"
enum_primitive = "0.1.0"
glob = "0.2.10"
[dependencies.gif]
version = "0.7"
optional = true
[dependencies.jpeg-decoder]
version = "0.1"
optional = true
[dependencies.png]
version = "0.4"
optional = true
[features]
default = ["gif_codec", "jpeg", "ico", "png_codec", "ppm", "tga", "tiff", "webp", "bmp"]
gif_codec = ["gif"]
ico = ["bmp", "png_codec"]
jpeg = ["jpeg-decoder"]
png_codec = ["png"]
ppm = []
tga = []
tiff = []
webp = []
bmp = []