Cargo Features
[dependencies]
archive-rs = { version = "0.0.2", default-features = false, features = ["bzip2-rs", "clap", "bzip2", "flate2", "lz4", "tar", "xz2", "zstd"] }
- default = bzip2, flate2, lz4, tar, xz2, zstd
-
These default features are set whenever
archive-rs
is added without
somewhere in the dependency tree.default-features = false
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-rs implicit feature
-
Enables bzip2-rs
bzip2-rs:
Pure Rust bzip2 decompressor
- clap implicit feature
-
Enables clap
clap:
A simple to use, efficient, and full-featured Command Line Argument Parser
Affects
archive-rs::clap
… - bzip2 default
- flate2 default
- lz4 default
- tar default
- xz2 default
- zstd default