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 whenever cita-vm is added without default-features = false somewhere in the dependency tree.

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

Enables hash-sm3 of hasher

Affects hash::NIL_DATA, hash::RLP_NULL, hash::get_hasher