Cargo Features
[dependencies]
oxipng = { version = "9.1.3", 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
somewhere in the dependency tree.default-features = false - 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