Cargo Features
[dependencies]
archiver-rs = { version = "0.5.1", default-features = false, features = ["all", "bzip", "gzip", "xz", "zip-all"] }
- default = all
-
The
all
feature is set by default wheneverarchiver-rs
is added without
somewhere in the dependency tree.default-features = false - all default = bzip, gzip, tar, xz, zip
- bzip all = bzip2
- gzip all = flate2
- xz all = xz2
- zip-all = zip
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.