| 1 |
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| 2 |
# |
| 3 |
# When uploading crates to the registry Cargo will automatically |
| 4 |
# "normalize" Cargo.toml files for maximal compatibility |
| 5 |
# with all versions of Cargo and also rewrite `path` dependencies |
| 6 |
# to registry (e.g., crates.io) dependencies. |
| 7 |
# |
| 8 |
# If you are reading this file be aware that the original Cargo.toml |
| 9 |
# will likely look very different (and much more reasonable). |
| 10 |
# See Cargo.toml.orig for the original contents. |
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2021" |
| 14 |
rust-version = "1.73" |
| 15 |
name = "png" |
| 16 |
version = "0.18.0" |
| 17 |
authors = ["The image-rs Developers"] |
| 18 |
build = false |
| 19 |
include = [ |
| 20 |
"/LICENSE-MIT", |
| 21 |
"/LICENSE-APACHE", |
| 22 |
"/README.md", |
| 23 |
"/CHANGES.md", |
| 24 |
"/src/", |
| 25 |
"/examples/", |
| 26 |
"/benches/", |
| 27 |
] |
| 28 |
autolib = false |
| 29 |
autobins = false |
| 30 |
autoexamples = false |
| 31 |
autotests = false |
| 32 |
autobenches = false |
| 33 |
description = "PNG decoding and encoding library in pure Rust" |
| 34 |
readme = "README.md" |
| 35 |
categories = ["multimedia::images"] |
| 36 |
license = "MIT OR Apache-2.0" |
| 37 |
repository = "https://github.com/image-rs/image-png" |
| 38 |
|
| 39 |
[features] |
| 40 |
benchmarks = [] |
| 41 |
unstable = ["crc32fast/nightly"] |
| 42 |
zlib-rs = ["flate2/zlib-rs"] |
| 43 |
|
| 44 |
[lib] |
| 45 |
name = "png" |
| 46 |
path = "src/lib.rs" |
| 47 |
|
| 48 |
[[example]] |
| 49 |
name = "change-png-info" |
| 50 |
path = "examples/change-png-info.rs" |
| 51 |
|
| 52 |
[[example]] |
| 53 |
name = "corpus-bench" |
| 54 |
path = "examples/corpus-bench.rs" |
| 55 |
|
| 56 |
[[example]] |
| 57 |
name = "png-generate" |
| 58 |
path = "examples/png-generate.rs" |
| 59 |
|
| 60 |
[[example]] |
| 61 |
name = "pngcheck" |
| 62 |
path = "examples/pngcheck.rs" |
| 63 |
|
| 64 |
[[bench]] |
| 65 |
name = "adam7" |
| 66 |
path = "benches/adam7.rs" |
| 67 |
harness = false |
| 68 |
required-features = ["benchmarks"] |
| 69 |
|
| 70 |
[[bench]] |
| 71 |
name = "decoder" |
| 72 |
path = "benches/decoder.rs" |
| 73 |
harness = false |
| 74 |
|
| 75 |
[[bench]] |
| 76 |
name = "expand_paletted" |
| 77 |
path = "benches/expand_paletted.rs" |
| 78 |
harness = false |
| 79 |
required-features = ["benchmarks"] |
| 80 |
|
| 81 |
[[bench]] |
| 82 |
name = "unfilter" |
| 83 |
path = "benches/unfilter.rs" |
| 84 |
harness = false |
| 85 |
required-features = ["benchmarks"] |
| 86 |
|
| 87 |
[dependencies.bitflags] |
| 88 |
version = "2.0" |
| 89 |
|
| 90 |
[dependencies.crc32fast] |
| 91 |
version = "1.2.0" |
| 92 |
|
| 93 |
[dependencies.fdeflate] |
| 94 |
version = "0.3.3" |
| 95 |
|
| 96 |
[dependencies.flate2] |
| 97 |
version = "1.0.35" |
| 98 |
|
| 99 |
[dependencies.miniz_oxide] |
| 100 |
version = "0.8" |
| 101 |
features = ["simd"] |
| 102 |
|
| 103 |
[dev-dependencies.approx] |
| 104 |
version = "0.5.1" |
| 105 |
|
| 106 |
[dev-dependencies.byteorder] |
| 107 |
version = "1.5.0" |
| 108 |
|
| 109 |
[dev-dependencies.clap] |
| 110 |
version = "4.0" |
| 111 |
features = ["derive"] |
| 112 |
|
| 113 |
[dev-dependencies.criterion] |
| 114 |
version = "0.7.0" |
| 115 |
features = ["cargo_bench_support"] |
| 116 |
default-features = false |
| 117 |
|
| 118 |
[dev-dependencies.glob] |
| 119 |
version = "0.3" |
| 120 |
|
| 121 |
[dev-dependencies.rand] |
| 122 |
version = "0.9.2" |
| 123 |
|
| 124 |
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.criterion] |
| 125 |
version = "0.7.0" |
| 126 |
|
| 127 |
[lints.rust.unexpected_cfgs] |
| 128 |
level = "warn" |
| 129 |
priority = 0 |
| 130 |
check-cfg = ["cfg(fuzzing)"] |