Cargo Features

linera-execution has no features set by default.

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

Enables alloy ^0.9.2, alloy-sol-types ^0.8.18, hex, revm ^19.4.0, revm-primitives ^15.1.0, and tempfile

fs

Enables fs of tokio

metrics = prometheus

Enables metrics of linera-views

wasmer

Enables wasmer of linera-witty and enable-serde of linera-wasmer

linera-wasmer:

Optional

Required by the wit-generator binary

wasmtime

Enables wasmtime ^25.0.0, wasmtime of linera-witty

web = js-sys

Enables web of linera-base and linera-views

test = proptest

Enables macros of tokio, test of linera-base and linera-views

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.

js-sys web?
prometheus metrics?

Enables prometheus ^0.13.3

proptest test?