Cargo Features
[dependencies]
libpng-sys = { version = "1.1.11", default-features = false, features = ["build", "static", "libz-sys", "cloudflare-zlib-sys", "static-libz"] }
- default = libz-sys
-
The
libz-sysfeature is set by default wheneverlibpng-sysis added withoutsomewhere in the dependency tree.default-features = false - build = static
- static build?
- libz-sys default static-libz?
-
Enables libz-sys
- cloudflare-zlib-sys
-
You must disable
libz-sysfeature for this to workEnables cloudflare-zlib-sys
- static-libz
-
libz-sys:
Enable this feature if you want to have a statically linked libz