oxipng/Cargo.toml
Alejandro González 9d94e39a0e Update and optimize dependencies
These changes update the dependencies to their latest versions, fixing
some known issues that prevented doing so in the first place.

In addition, the direct dependency on byteorder was dropped in favor
of stdlib functions that have been stabilized for some time in Rust, and
the transitive dependency on chrono, pulled by stderrlog, was also
dropped, which had been affected by security issues and improperly
maintained in the past:

- https://github.com/cardoe/stderrlog-rs/issues/31
- https://www.reddit.com/r/rust/comments/ts84n4/chrono_or_time_03/
2022-08-19 20:47:52 +02:00

82 lines
1.8 KiB
TOML

[package]
authors = ["Joshua Holmer <jholmer.in@gmail.com>"]
categories = ["command-line-utilities", "compression"]
description = "A lossless PNG compression optimizer"
documentation = "https://docs.rs/oxipng"
edition = "2021"
exclude = ["tests/*", "bench/*"]
homepage = "https://github.com/shssoichiro/oxipng"
license = "MIT"
name = "oxipng"
repository = "https://github.com/shssoichiro/oxipng"
version = "5.0.1"
rust-version = "1.56.0"
[badges]
travis-ci = { repository = "shssoichiro/oxipng", branch = "master" }
maintenance = { status = "actively-developed" }
[[bin]]
doc = false
name = "oxipng"
path = "src/main.rs"
required-features = ["binary"]
[dependencies]
bit-vec = "0.6.3"
crc = "3.0.0"
itertools = "0.10.3"
zopfli = { version = "0.7.0", optional = true }
miniz_oxide = "0.5.3"
rgb = "0.8.33"
indexmap = "1.9.1"
libdeflater = { version = "0.10.0", optional = true }
log = "0.4.17"
stderrlog = { version = "0.5.3", optional = true, default-features = false }
crossbeam-channel = "0.5.6"
[dependencies.filetime]
optional = true
version = "0.2.17"
[dependencies.rayon]
optional = true
version = "1.5.3"
[dependencies.clap]
optional = true
version = "3.2.17"
[dependencies.wild]
optional = true
version = "2.1.0"
[dependencies.image]
default-features = false
features = ["png"]
version = "0.24.3"
[target.'cfg(any(target_arch = "x86_64", target_arch = "aarch64"))'.dependencies.cloudflare-zlib]
features = ["arm-always"]
version = "0.2.9"
[build-dependencies]
rustc_version = "0.4.0"
[features]
binary = ["clap", "wild", "stderrlog"]
default = ["binary", "filetime", "parallel", "libdeflater", "zopfli"]
parallel = ["rayon", "indexmap/rayon"]
[lib]
name = "oxipng"
path = "src/lib.rs"
[profile.dev]
opt-level = 2
[profile.release]
lto = "thin"
[profile.dev.package.bit-vec]
opt-level = 3