Cargo Features

[dependencies]
wasmer-compiler = { version = "4.3.0-alpha.1", default-features = false, features = ["translator", "std", "compiler", "wasmer-artifact-create", "static-artifact-load", "static-artifact-create", "core", "enable-serde"] }
default = std

The std feature is set by default whenever wasmer-compiler is added without default-features = false somewhere in the dependency tree.

translator compiler? = 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

compiler = translator
wasmer-artifact-load wasmer-artifact-create
static-artifact-load
static-artifact-create = wasmer-object
core = hashbrown

Enables core of wasmer-types

enable-serde = serde, serde_bytes

Enables enable-serde of wasmer-types

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.

wasmer-object static-artifact-create?
wasmparser translator?

Enables wasmparser ^0.121.0

hashbrown core?

Enables hashbrown ^0.11

serde enable-serde?
serde_bytes enable-serde?