Cargo Features

linera-execution has no features set by default.

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

Enables fs of tokio

metrics = prometheus

Enables metrics of linera-views

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

Enables linera-wasmer, wasmer of linera-witty

wasmtime = wasm-encoder, wasmparser

Enables wasmtime ^25.0.0, wasmtime of linera-witty

web

Enables web of linera-base and linera-views

test

Enables test of linera-views, macros of tokio

Affects linera-execution::BaseRuntime.contains_key, linera-execution::BaseRuntime.contains_keys, 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