1[package]
2name = "png"
3version = "0.17.16"
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.8", features = ["simd"] }
29
30[dev-dependencies]
31approx = "0.5.1"
32byteorder = "1.5.0"
33clap = { version = "3.0", features = ["derive"] }
34criterion = "0.4.0"
35getopts = "0.2.14"
36glium = { version = "0.32", features = ["glutin"], default-features = false }
37glob = "0.3"
38rand = "0.8.4"
39term = "1.0.1"
40
41[features]
42unstable = ["crc32fast/nightly"]
43benchmarks = []
44
45[lints.rust]
46unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] }
47
48[[bench]]
49path = "benches/decoder.rs"
50name = "decoder"
51harness = false
52
53[[bench]]
54path = "benches/unfilter.rs"
55name = "unfilter"
56harness = false
57required-features = ["benchmarks"]
58
59[[bench]]
60path = "benches/expand_paletted.rs"
61name = "expand_paletted"
62harness = false
63required-features = ["benchmarks"]
64