Cargo Features

linera-chain has no features set by default.

[dependencies]
linera-chain = { version = "0.14.0", features = ["metrics", "web", "benchmark", "test"] }
metrics = prometheus

Enables metrics of linera-execution and linera-views

web

Enables web of linera-base, linera-execution, and linera-views

benchmark

Enables test of linera-base

test

Enables anyhow and axum ^0.7.4, macros of tokio, test of linera-base and linera-execution

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.

prometheus metrics?

Enables prometheus ^0.13.3