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 whenever wasmer-compiler-x is added without default-features = false somewhere in the dependency tree.

translator = wasmparser

This feature is for compiler implementors, it enables using Compiler and CompilerConfig, 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