Cargo Features
[dependencies]
wasmer-engine-dummy = { version = "1.0.0-alpha01.0", default-features = false, features = ["compiler", "serialize"] }
- default = compiler, serialize
-
Enable the
compiler
feature if you want the engine to compile and not be only on headless mode. - compiler default
-
Enables translator of wasmer-compiler ^1.0.0-alpha01.0
wasmer-compiler:
This feature is for compiler implementors, it enables using
Compiler
andCompilerConfig
, as well as the included wasmparser. Disable this feature if you just want a headless engine. - serialize default = bincode, serde, serde_bytes
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.