Cargo Features

[dependencies]
pngquant = { version = "3.0.3", default-features = false, features = ["cocoa", "lcms2", "lcms2-static", "png-static", "z-static", "static"] }
default = lcms2

The lcms2 feature is set by default whenever pngquant is added without default-features = false somewhere in the dependency tree.

cocoa

Enables cocoa_image

Affects pngquant::rwpng_cocoa

lcms2 default lcms2-static?

Enables lcms2-sys

lcms2-static static? = lcms2

Enables static of optional lcms2-sys

lcms2-sys:

Prefer static build

png-static static?

Enables static of libpng-sys

z-static

Enables static-libz of libpng-sys

static = lcms2-static, png-static