Cargo Features

linera-chain has no features set by default.

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

Enables metrics of linera-execution and linera-views

web

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

test

Enables 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?