Cargo Features
[dependencies]
chksum-cli = { version = "0.4.1", default-features = false, features = ["color", "md5", "sha1", "sha2", "sha2-224", "sha2-256", "sha2-384", "sha2-512"] }
- default = color, md5, sha1, sha2
-
These default features are set whenever
chksum-cli
is added without
somewhere in the dependency tree.default-features = false - color default = colored
-
compilation
Affects
chksum-cli::Command.color
… - md5 default
-
algorithms
- sha1 default
- sha2 default = sha2-224, sha2-256, sha2-384, sha2-512
- sha2-224 sha2
- sha2-256 sha2
- sha2-384 sha2
- sha2-512 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.