Cargo Features
[dependencies]
castor = { version = "0.5.0", default-features = false, features = ["sha2_256", "sha2_512", "sha3_256", "sha3_512", "blake2b", "blake2s"] }
- default = blake2s
-
The
blake2s
feature is set by default whenevercastor
is added without
somewhere in the dependency tree.default-features = false - sha2_256 = sha2
-
Affects
castor::Sha2_256
… - sha2_512 = sha2
-
Affects
castor::Sha2_512
… - sha3_256 = sha3
-
Affects
castor::Sha3_256
… - sha3_512 = sha3
-
Affects
castor::Sha3_512
… - blake2b = blake2
-
Affects
castor::Blake2b
… - blake2s default = blake2
-
Affects
castor::Blake2s
…
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.