Cargo Features
[dependencies]
libpng-sys = { version = "1.1.10", default-features = false, features = ["build", "static", "libz-sys", "cloudflare-zlib-sys", "static-libz"] }
- default = libz-sys
-
The
libz-sys
feature is set by default wheneverlibpng-sys
is added without
somewhere 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-sys
feature for this to workEnables cloudflare-zlib-sys
- static-libz
-
libz-sys:
Enable this feature if you want to have a statically linked libz