Cargo Features
[dependencies]
chksum-hash = { version = "0.5.1", default-features = false, features = ["md5", "sha1", "sha2", "sha2-224", "sha2-256", "sha2-384", "sha2-512"] }
- default = md5, sha1, sha2
-
These default features are set whenever
chksum-hash
is added without
somewhere in the dependency tree.default-features = false - md5 default = chksum-hash-md5
- sha1 default = chksum-hash-sha1
- sha2 default = chksum-hash-sha2, sha2-224, sha2-256, sha2-384, sha2-512
- sha2-224 sha2
-
Enables 224 of chksum-hash-sha2
- sha2-256 sha2
-
Enables 256 of chksum-hash-sha2
- sha2-384 sha2
-
Enables 384 of chksum-hash-sha2
- sha2-512 sha2
-
Enables 512 of chksum-hash-sha2
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.