131 lines
2.5 KiB
TOML
131 lines
2.5 KiB
TOML
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
|
|
#
|
|
# When uploading crates to the registry Cargo will automatically
|
|
# "normalize" Cargo.toml files for maximal compatibility
|
|
# with all versions of Cargo and also rewrite `path` dependencies
|
|
# to registry (e.g., crates.io) dependencies.
|
|
#
|
|
# If you are reading this file be aware that the original Cargo.toml
|
|
# will likely look very different (and much more reasonable).
|
|
# See Cargo.toml.orig for the original contents.
|
|
|
|
[package]
|
|
edition = "2021"
|
|
rust-version = "1.73"
|
|
name = "png"
|
|
version = "0.18.0"
|
|
authors = ["The image-rs Developers"]
|
|
build = false
|
|
include = [
|
|
"/LICENSE-MIT",
|
|
"/LICENSE-APACHE",
|
|
"/README.md",
|
|
"/CHANGES.md",
|
|
"/src/",
|
|
"/examples/",
|
|
"/benches/",
|
|
]
|
|
autolib = false
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
description = "PNG decoding and encoding library in pure Rust"
|
|
readme = "README.md"
|
|
categories = ["multimedia::images"]
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/image-rs/image-png"
|
|
|
|
[features]
|
|
benchmarks = []
|
|
unstable = ["crc32fast/nightly"]
|
|
zlib-rs = ["flate2/zlib-rs"]
|
|
|
|
[lib]
|
|
name = "png"
|
|
path = "src/lib.rs"
|
|
|
|
[[example]]
|
|
name = "change-png-info"
|
|
path = "examples/change-png-info.rs"
|
|
|
|
[[example]]
|
|
name = "corpus-bench"
|
|
path = "examples/corpus-bench.rs"
|
|
|
|
[[example]]
|
|
name = "png-generate"
|
|
path = "examples/png-generate.rs"
|
|
|
|
[[example]]
|
|
name = "pngcheck"
|
|
path = "examples/pngcheck.rs"
|
|
|
|
[[bench]]
|
|
name = "adam7"
|
|
path = "benches/adam7.rs"
|
|
harness = false
|
|
required-features = ["benchmarks"]
|
|
|
|
[[bench]]
|
|
name = "decoder"
|
|
path = "benches/decoder.rs"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "expand_paletted"
|
|
path = "benches/expand_paletted.rs"
|
|
harness = false
|
|
required-features = ["benchmarks"]
|
|
|
|
[[bench]]
|
|
name = "unfilter"
|
|
path = "benches/unfilter.rs"
|
|
harness = false
|
|
required-features = ["benchmarks"]
|
|
|
|
[dependencies.bitflags]
|
|
version = "2.0"
|
|
|
|
[dependencies.crc32fast]
|
|
version = "1.2.0"
|
|
|
|
[dependencies.fdeflate]
|
|
version = "0.3.3"
|
|
|
|
[dependencies.flate2]
|
|
version = "1.0.35"
|
|
|
|
[dependencies.miniz_oxide]
|
|
version = "0.8"
|
|
features = ["simd"]
|
|
|
|
[dev-dependencies.approx]
|
|
version = "0.5.1"
|
|
|
|
[dev-dependencies.byteorder]
|
|
version = "1.5.0"
|
|
|
|
[dev-dependencies.clap]
|
|
version = "4.0"
|
|
features = ["derive"]
|
|
|
|
[dev-dependencies.criterion]
|
|
version = "0.7.0"
|
|
features = ["cargo_bench_support"]
|
|
default-features = false
|
|
|
|
[dev-dependencies.glob]
|
|
version = "0.3"
|
|
|
|
[dev-dependencies.rand]
|
|
version = "0.9.2"
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.criterion]
|
|
version = "0.7.0"
|
|
|
|
[lints.rust.unexpected_cfgs]
|
|
level = "warn"
|
|
priority = 0
|
|
check-cfg = ["cfg(fuzzing)"]
|