Cargo Features

[dependencies]
parity-wasm = { version = "0.45.0", default-features = false, features = ["std", "reduced-stack-buffer", "atomics", "simd", "sign_ext", "bulk", "multi_value"] }
default = std

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

std default

Affects elements::deserialize_file, elements::serialize_to_file

reduced-stack-buffer

Reduce stack usage for buffered read operations.
This feature is useful when integrating on resource constrained devices such as microcontroler where the stack size is fixed (stacks do not grow) and limited to a few (k)bytes.

atomics

Features for enabling non-MVP proposals. These features should be tested as part of Travis CI build.

Atomics aka threading. https://github.com/webassembly/threads/

Affects ops::AtomicsInstruction, ops::opcodes.atomics, ops::MemArg

simd

SIMD https://github.com/WebAssembly/simd/

Affects ops::SimdInstruction, ops::opcodes.simd, ops::MemArg

sign_ext

Sign-extension operators https://github.com/WebAssembly/sign-extension-ops/

Affects ops::SignExtInstruction, ops::opcodes.sign_ext

bulk

Bulk-memory operators https://github.com/WebAssembly/bulk-memory-operations/

Affects ops::BulkInstruction, ops::opcodes.bulk

multi_value

Multi-value https://github.com/WebAssembly/multi-value/