Cargo Features

[dependencies]
oxipng = { version = "9.1.2", default-features = false, features = ["binary", "parallel", "freestanding", "sanity-checks", "zopfli", "filetime"] }
default = binary, filetime, parallel, zopfli

These default features are set whenever oxipng is added without default-features = false somewhere in the dependency tree.

binary default

Enables clap, env_logger, and glob

Required by the binary

parallel default

Enables crossbeam-channel, rayon, rayon of indexmap

freestanding

Enables freestanding of libdeflater

libdeflater:

Builds libdeflate in a freestanding mode (no reliance on libc).
This is useful for targets that don't have a C stdlib (e.g. wasm32-unknown-unknown).

sanity-checks

Enables image

zopfli default

Enables zopfli

filetime default

Enables filetime