Cargo Features

ontio-std has no features set by default.

[dependencies]
ontio-std = { version = "0.5.0", features = ["std", "bump-alloc", "mock"] }
std mock?
bump-alloc = ontio-bump-alloc
mock = sha2, std

Enables fixed-hash ^0.4

Affects ontio-std::mock

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.

ontio-bump-alloc bump-alloc?
sha2 mock?

Enables sha2 ^0.9