Cargo Features

linera-rpc has no features set by default.

[dependencies]
linera-rpc = { version = "0.13.1", features = ["metrics", "server", "simple-network", "web", "web-default", "test"] }
metrics = prometheus

Enables metrics of linera-base, linera-chain, linera-core, linera-execution, and linera-storage

server = tokio-util, tonic-health, tonic-reflection
simple-network

Enables net of tokio-util

web web-default?

Enables web of linera-base, linera-chain, linera-core, and linera-execution

web-default = web
test

Enables test of linera-base, linera-chain, linera-core, linera-execution, and linera-storage

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?
tokio-util server? simple-network?
tonic-health server?
tonic-reflection server?