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