Cargo Features

[dependencies]
linera-wasmer-compiler = { version = "4.4.0-linera.6", default-features = false, features = ["translator", "std", "compiler", "wasmer-artifact-create", "static-artifact-load", "static-artifact-create", "core", "enable-serde", "artifact-size"] }
default = std

The std feature is set by default whenever linera-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 =4.4.0

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

Enables core of wasmer-types =4.4.0

enable-serde = serde, serde_bytes

Enables enable-serde of wasmer-types =4.4.0

artifact-size

Enables loupe

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?

Enables wasmer-object =4.4.0

wasmparser translator?

Enables wasmparser ^0.121.0

hashbrown core?

Enables hashbrown ^0.11

serde enable-serde?
serde_bytes enable-serde?