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