Cargo Features

linera-execution has no features set by default.

[dependencies]
linera-execution = { version = "0.11.0", features = ["fs", "metrics", "wasmer", "wasmtime", "web", "test"] }
fs

Enables fs of tokio

metrics = prometheus

Enables metrics of linera-views

wasmer = bytes, wasm-encoder, wasm-instrument, wasmparser

Enables wasmer, wasmer of linera-witty

wasmtime = wasm-encoder, wasmparser

Enables wasmtime ^1.0, wasmtime of linera-witty

web

Enables web of linera-base and linera-views

test

Enables macros of tokio

Affects linera-execution::BaseRuntime.contains_key, linera-execution::BaseRuntime.read_multi_values_bytes, linera-execution::BaseRuntime.read_value_bytes, linera-execution::BaseRuntime.find_key_values_by_prefix

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.

bytes wasmer?
prometheus metrics?
wasm-encoder wasmer? wasmtime?

Enables wasm-encoder ^0.24.1

wasm-instrument wasmer?
wasmparser wasmer? wasmtime?

Enables wasmparser ^0.101.1