Cargo Features

[dependencies]
ewasm_api = { version = "0.11.0", default-features = false, features = ["std", "debug", "experimental", "eth2", "wee_alloc", "qimalloc"] }
default = std, wee_alloc

These default features are set whenever ewasm_api is added without default-features = false somewhere in the dependency tree.

std default

Affects eth2::acquire_block_data, ewasm_api::calldata_acquire, ewasm_api::code_acquire, ewasm_api::external_code_acquire, ewasm_api::returndata_acquire, utils::unsafe_alloc_buffer

debug

Affects ewasm_api::debug

experimental

Affects ewasm_api::bignum

eth2

Affects ewasm_api::eth2

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.

wee_alloc default
qimalloc implicit feature

Enables qimalloc

qimalloc:

Quick incremental memory allocator