Cargo Features
[dependencies]
gparity-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 whenevergparity-wasm
is added without
somewhere in the dependency tree.default-features = false - 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
-
Affects
ops::SimdInstruction
,ops::opcodes.simd
,ops::MemArg
… - sign_ext
-
Sign-extension operators https://github.com/WebAssembly/sign-extension-ops/
- 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/