Cargo Features

cita-hashable has no features set by default.

[dependencies]
cita-hashable = { version = "0.1.1", features = ["sha3hash", "blake2bhash", "sm3hash"] }
sha3hash = tiny-keccak

Affects cita-hashable::HASH_EMPTY, cita-hashable::HASH_NULL_RLP, cita-hashable::HASH_EMPTY_LIST_RLP

blake2bhash = blake2b_simd

Affects cita-hashable::HASH_EMPTY, cita-hashable::HASH_NULL_RLP, cita-hashable::HASH_EMPTY_LIST_RLP, cita-hashable::BLAKE2BKEY

sm3hash = libsm

Affects cita-hashable::HASH_EMPTY, cita-hashable::HASH_NULL_RLP, cita-hashable::HASH_EMPTY_LIST_RLP

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.

tiny-keccak sha3hash?
blake2b_simd blake2bhash?
libsm sm3hash?