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