Cargo Features

[dependencies]
libpng-vendored-sys = { version = "0.1.2", default-features = false, features = ["link-libz", "link-libz-static"] }
default = link-libz

The link-libz feature is set by default whenever libpng-vendored-sys is added without default-features = false somewhere in the dependency tree.

Enables libz-sys =1.1.16

Enables static of libz-sys =1.1.16

libz-sys:

Enable this feature if you want to have a statically linked libz

libpng-vendored-sys has 3 features without comments.