Cargo Features
[dependencies]
dwutil = { version = "0.1.3", default-features = false, features = ["full", "full-decoders", "full-hashers", "sha", "md5", "indicatif", "gz", "zip", "tar", "xz", "targz", "tarxz"] }
- default = indicatif, md5, sha, targz, tarxz, zip
-
These default features are set whenever
dwutilis added withoutsomewhere in the dependency tree.default-features = false - full = full-decoders, full-hashers, indicatif
- full-decoders full? = targz, tarxz, zip
- full-hashers full? = md5, sha
- sha default full-hashers?
-
Enables sha1 ^0.10.6 and sha2 ^0.10.9
sha1:
Hashers
Affects
hash::sha… - md5 default full-hashers?
-
Enables md5
Affects
hash::md5… - indicatif default full?
-
Enables indicatif ^0.17
Indicatif progress bar
Affects
indicator::indicatif… - gz targz
-
Enables flate2
Gzip decompresion
and infer
Check if the file is a compression format
Affects
decompress::gz… - zip default full-decoders?
-
zip:
Zip decompression
Affects
decompress::zip… - tar targz tarxz
-
tar:
Tar.* decompression
Affects
decompress::tar… - xz tarxz
-
xz2:
XZ decompression
Affects
decompress::xz… - targz default full-decoders? = gz, tar
-
Affects
decompress::targz… - tarxz default full-decoders? = tar, xz
-
Affects
decompress::tarxz…