Cargo Features
[dependencies]
cita-vm = { version = "0.5.0", default-features = false, features = ["sha3hash", "blake2bhash", "sm3hash"] }
- default = sha3hash
-
The
sha3hash
feature is set by default whenevercita-vm
is added without
somewhere in the dependency tree.default-features = false - sha3hash default
-
Enables hash-keccak of hasher
Affects
hash::NIL_DATA
,hash::RLP_NULL
,hash::get_hasher
… - blake2bhash
-
Enables hash-blake2b of hasher
Affects
hash::NIL_DATA
,hash::RLP_NULL
,hash::get_hasher
… - sm3hash
-
Affects
hash::NIL_DATA
,hash::RLP_NULL
,hash::get_hasher
…