Cargo Features

dusk-wasmtime-environ has no features set by default.

[dependencies]
dusk-wasmtime-environ = { version = "21.0.0-alpha", features = ["component-model", "demangle", "gc", "compile", "threads"] }
component-model

Enables wasm-encoder ^0.202.0, wasmprinter ^0.202.0, and wasmtime-component-util =20.0.0

Affects compile::Compiler.component_compiler, dusk-wasmtime-environ::component, dusk-wasmtime-environ::fact

demangle

Enables cpp_demangle and rustc-demangle

gc
compile

Enables write of gimli ^0.28.0 and write_core of object ^0.33

object:

Core write support. You will need to enable some file formats too.

Affects component::dfg, dusk-wasmtime-environ::fact

threads