Some checks failed
deploy / create-binaries (windows-latest, i686-pc-windows-msvc) (push) Has been cancelled
deploy / create-binaries (macOS-latest, x86_64-apple-darwin) (push) Has been cancelled
deploy / create-binaries (ubuntu-latest, x86_64-unknown-linux-musl) (push) Has been cancelled
deploy / deploy (push) Has been cancelled
82 lines
1.5 KiB
TOML
82 lines
1.5 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 = "2018"
|
|
exclude = [
|
|
"tests/*",
|
|
"bench/*",
|
|
]
|
|
homepage = "https://github.com/shssoichiro/oxipng"
|
|
license = "MIT"
|
|
name = "oxipng"
|
|
repository = "https://github.com/shssoichiro/oxipng"
|
|
build = "build.rs"
|
|
version = "3.0.1"
|
|
|
|
[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.2"
|
|
byteorder = "^1.0.0"
|
|
crc = "^1.2.0"
|
|
itertools = "^0.9.0"
|
|
zopfli = "^0.4.0"
|
|
miniz_oxide = "0.4"
|
|
rgb = "0.8.20"
|
|
indexmap = { version = "1.5.0", features = ["rayon"] }
|
|
libdeflater = "0.5.0"
|
|
log = "0.4.11"
|
|
stderrlog = { version = "0.4.3", optional = true }
|
|
|
|
[dependencies.rayon]
|
|
optional = true
|
|
version = "^1.3.1"
|
|
|
|
[dependencies.clap]
|
|
optional = true
|
|
version = "^2.33.1"
|
|
|
|
[dependencies.wild]
|
|
optional = true
|
|
version = "2.0.4"
|
|
|
|
[dependencies.image]
|
|
default-features = false
|
|
features = ["png"]
|
|
version = "0.23"
|
|
|
|
[target.'cfg(any(target_arch = "x86_64", target_arch = "aarch64"))'.dependencies]
|
|
cloudflare-zlib = "^0.2.2"
|
|
|
|
[build-dependencies]
|
|
rustc_version = "0.2"
|
|
|
|
[features]
|
|
binary = [
|
|
"clap",
|
|
"wild",
|
|
"stderrlog",
|
|
]
|
|
default = ["binary", "parallel"]
|
|
parallel = ["rayon"]
|
|
|
|
[lib]
|
|
name = "oxipng"
|
|
path = "src/lib.rs"
|
|
[profile.dev]
|
|
opt-level = 2
|
|
[profile.release]
|
|
lto = "thin"
|