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 wheneverlibpng-vendored-sys
is added without
somewhere in the dependency tree.default-features = false - link-libz default
-
Enables libz-sys =1.1.16
- link-libz-static
-
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.