Thanks to visit codestin.com
Credit goes to lib.rs

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

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?

Enables infer and zip ^0.6

zip:

Zip decompression

Affects decompress::zip

tar targz tarxz

Enables infer and tar

tar:

Tar.* decompression

Affects decompress::tar

xz tarxz

Enables infer and xz2

xz2:

XZ decompression

Affects decompress::xz

targz default full-decoders? = gz, tar

Affects decompress::targz

tarxz default full-decoders? = tar, xz

Affects decompress::tarxz