forked from external-repos/squoosh
Add conversions for all color types in PNG decoder used in CLI. (While at it, also made few minor cleanups.) Fixes #971.
23 lines
409 B
TOML
23 lines
409 B
TOML
[package]
|
|
name = "squoosh-png"
|
|
version = "0.1.0"
|
|
authors = ["Surma <surma@surma.dev>"]
|
|
edition = "2018"
|
|
publish = false
|
|
|
|
[package.metadata.wasm-pack.profile.release]
|
|
wasm-opt = ["-O", "--no-validation"]
|
|
|
|
[lib]
|
|
crate-type = ["cdylib"]
|
|
|
|
[dependencies]
|
|
png = "0.16.7"
|
|
wasm-bindgen = "0.2.68"
|
|
web-sys = { version = "0.3.45", features = ["ImageData"] }
|
|
rgb = "0.8.25"
|
|
|
|
[profile.release]
|
|
lto = true
|
|
opt-level = "s"
|