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 whenever archiver-rs is added without default-features = false somewhere in the dependency tree.

all default = bzip, gzip, tar, xz, zip
bzip all = bzip2

Enables bzip2 of zip ^0.5

gzip all = flate2
xz all = xz2
zip-all = zip

Enables bzip2 of zip ^0.5

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.

bzip2 bzip?
flate2 gzip?
tar all
xz2 xz?
zip all bzip? zip-all?

Enables zip ^0.5