Cargo Features
[dependencies]
big-hash = { version = "0.2.0", default-features = false, features = ["hash-md5", "hash-sha256", "hash-sha512"] }
- default = hash-md5, hash-sha256, hash-sha512
-
These default features are set whenever
big-hash
is added without
somewhere in the dependency tree.default-features = false - hash-md5 default = md5
-
feature to add the
hash_md5
functionAffects
big-hash::md5_hash
… - hash-sha256 default = hmac-sha256
-
feature to add the
hash_sha256
functionAffects
big-hash::sha256_hash
… - hash-sha512 default = hmac-sha512
-
feature to add the
hash_sha512
functionAffects
big-hash::sha512_hash
…
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.
- hmac-sha256 hash-sha256
-
Enables hmac-sha256 ^0.1
- hmac-sha512 hash-sha512
-
Enables hmac-sha512 ^0.1.6
- md5 hash-md5