Cargo Features
wasmtime-environ has no features set by default.
[dependencies]
wasmtime-environ = { version = "28.0.0", features = ["std", "component-model", "demangle", "gc", "gc-drc", "gc-null", "compile", "wmemcheck"] }
- std compile? demangle? threads? wmemcheck?
-
Enables std of anyhow, indexmap, object, and wasmparser ^0.221.2
object:
======================================= Misc features.
Enable things that require libstd. Currently, this provides an
Error
implementation. - component-model
-
Enables semver, wasmtime-component-util and component-model of wasmparser ^0.221.2
wasmparser:
A feature that enables parsing and validating the component-model proposal for WebAssembly. This is enabled by default but if your use case is only interested in working with core modules then this feature can be disabled.
Affects
compile::Compiler.component_compiler
,wasmtime-environ::component
,wasmtime-environ::fact
… - demangle = std
-
Enables cpp_demangle and rustc-demangle
- gc gc-drc? gc-null?
- gc-drc = gc
-
Affects
gc::drc
… - gc-null = gc
-
Affects
gc::null
… - compile = std
-
Enables wasm-encoder ^0.221.2 and wasmprinter ^0.221.2, write of gimli and write_core of object
object:
Core write support. You will need to enable some file formats too.
Affects
component::dfg
,wasmtime-environ::fact
… - threads wmemcheck = std