Cargo Features
[dependencies]
wasmer-compiler-x = { version = "2.4.1", default-features = false, features = ["translator", "std", "core"] }
- default = std
-
The
std
feature is set by default wheneverwasmer-compiler-x
is added without
somewhere in the dependency tree.default-features = false - translator = wasmparser
-
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. - std default
-
Enables std of wasmer-types-x
- core = hashbrown
-
Enables core of wasmer-types-x
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.
- wasmparser translator?
-
Enables wasmparser ^0.78
- hashbrown core?
-
Enables hashbrown ^0.11