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