forked from image-rs/image
/
Cargo.toml
79 lines (68 loc) · 1.6 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
[package]
name = "image"
version = "0.22.5"
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>",
"HeroicKatora",
"Calum",
"CensoredUsername <cens.username@gmail.com>",
"fintelia <fintelia@gmail.com>"
]
readme = "README.md"
documentation = "https://docs.rs/image"
repository = "https://github.com/image-rs/image.git"
homepage = "https://github.com/image-rs/image"
categories = ["multimedia::images", "multimedia::encoding"]
exclude = [
"src/png/testdata/*",
"examples/*",
"tests/*",
]
[lib]
name = "image"
path = "./src/lib.rs"
[dependencies]
byteorder = "1.2.1"
num-iter = "0.1.32"
num-rational = { version = "0.2.1", default-features = false }
num-traits = "0.2.0"
[dependencies.gif]
version = "0.10.0"
optional = true
[dependencies.jpeg-decoder]
version = "0.1"
default-features = false
optional = true
[dependencies.png]
version = "0.15"
optional = true
[dependencies.scoped_threadpool]
version = "0.1"
optional = true
[dependencies.tiff]
version = "0.3.1"
optional = true
[dev-dependencies]
crc32fast = "1.2.0"
num-complex = "0.2.0"
glob = "0.3"
quickcheck = "0.9"
[features]
default = ["gif_codec", "jpeg", "ico", "png_codec", "pnm", "tga", "tiff", "webp", "bmp", "hdr", "dxt", "jpeg_rayon"]
gif_codec = ["gif"]
ico = ["bmp", "png_codec"]
jpeg = ["jpeg-decoder"]
png_codec = ["png"]
pnm = []
tga = []
webp = []
bmp = []
hdr = ["scoped_threadpool"]
dxt = []
jpeg_rayon = ["jpeg-decoder/rayon"]
benchmarks = []