Cargo Features
[dependencies]
libzip-sys = { version = "0.1.1", default-features = false, features = ["bzip2"] }
- default = bzip2-sys
-
The
bzip2-sys
feature is set by default wheneverlibzip-sys
is added without
somewhere in the dependency tree.default-features = false - bzip2 = bzip2-sys
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.