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