Cargo Features

[dependencies]
wasmi_collections = { version = "0.32.0", default-features = false, features = ["std", "no-hash-maps"] }
default = std

The std feature is set by default whenever wasmi_collections is added without default-features = false somewhere in the dependency tree.

std default

Enables std of string-interner

no-hash-maps

Tells the wasmi_collections crate to avoid using hash based maps and sets.

Some embedded environments cannot provide a random source which is required to properly initialize hashmap based data structures for resilience against malious actors that control their inputs.

An example of such an environment is wasm32-unknown-unknown.