1[package]
2name = "png"
3version = "0.17.13"
4license = "MIT OR Apache-2.0"
5
6description = "PNG decoding and encoding library in pure Rust"
7categories = ["multimedia::images"]
8authors = ["The image-rs Developers"]
9repository = "https://github.com/image-rs/image-png"
10
11edition = "2018"
12rust-version = "1.57"
13include = [
14 "/LICENSE-MIT",
15 "/LICENSE-APACHE",
16 "/README.md",
17 "/CHANGES.md",
18 "/src/",
19 "/examples/",
20 "/benches/",
21]
22
23[dependencies]
24bitflags = "1.0"
25crc32fast = "1.2.0"
26fdeflate = "0.3.3"
27flate2 = "1.0.11"
28miniz_oxide = { version = "0.7.1", features = ["simd"] }
29
30[dev-dependencies]
31byteorder = "1.5.0"
32clap = { version = "3.0", features = ["derive"] }
33criterion = "0.4.0"
34getopts = "0.2.14"
35glium = { version = "0.32", features = ["glutin"], default-features = false }
36glob = "0.3"
37rand = "0.8.4"
38term = "0.7"
39
40[features]
41unstable = []
42benchmarks = []
43
44[[bench]]
45path = "benches/decoder.rs"
46name = "decoder"
47harness = false
48
49[[bench]]
50path = "benches/unfilter.rs"
51name = "unfilter"
52harness = false
53required-features = ["benchmarks"]
54
55[[bench]]
56path = "benches/expand_paletted.rs"
57name = "expand_paletted"
58harness = false
59required-features = ["benchmarks"]