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