mirror of
https://github.com/GoogleChromeLabs/squoosh.git
synced 2025-11-11 16:26:20 +00:00
28 lines
730 B
TOML
28 lines
730 B
TOML
[package]
|
|
name = "squoosh-oxipng"
|
|
version = "0.1.0"
|
|
authors = ["Ingvar Stepanyan <me@rreverser.com>"]
|
|
edition = "2018"
|
|
publish = false
|
|
|
|
[package.metadata.wasm-pack.profile.release]
|
|
wasm-opt = ["-O", "--no-validation"]
|
|
|
|
[lib]
|
|
crate-type = ["cdylib"]
|
|
|
|
[dependencies]
|
|
oxipng = { version = "4.0.0", default-features = false, features = ["libdeflater"] }
|
|
wasm-bindgen = "0.2.68"
|
|
log = { version = "0.4.11", features = ["release_max_level_off"] }
|
|
rayon = { version = "1.5.0", optional = true }
|
|
once_cell = { version = "1.5.2", optional = true }
|
|
crossbeam-channel = { version = "0.5.0", optional = true }
|
|
|
|
[profile.release]
|
|
lto = true
|
|
opt-level = "s"
|
|
|
|
[features]
|
|
parallel = ["oxipng/parallel", "rayon", "crossbeam-channel", "once_cell"]
|