Cargo Features
[dependencies]
phar = { version = "0.0.3", default-features = false, features = ["reader", "writer", "sig-md5", "sig-sha1", "sig-sha2", "comp-zlib", "comp-bzip", "docsrs"] }
- default = comp-bzip, comp-zlib, reader, sig-md5, sig-sha1, sig-sha2, writer
-
These default features are set whenever
phar
is added without
somewhere in the dependency tree.default-features = false - reader default
-
Affects
phar::read
… - writer default = crc32fast
-
Affects
phar::write
… - sig-md5 default = digest, md-5
- sig-sha1 default = digest, sha-1
- sig-sha2 default = digest, sha2
- comp-zlib default = flate2
- comp-bzip default = bzip2
- docsrs
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 comp-bzip
- crc32fast writer
- digest sig-md5 sig-sha1 sig-sha2
-
Enables digest ^0.9.0
- flate2 comp-zlib
- md-5 sig-md5
-
Enables md-5 ^0.9.1
- sha-1 sig-sha1
-
Enables sha-1 ^0.9.2
- sha2 sig-sha2
-
Enables sha2 ^0.9.2