Cargo Features
linera-rpc has no features set by default.
[dependencies]
linera-rpc = { version = "0.11.0", features = ["metrics", "server", "simple-network", "web", "test"] }
- metrics = prometheus
-
Enables metrics of linera-base, linera-chain, linera-core, linera-execution, linera-storage, and linera-views
- server = tonic-health, tonic-reflection
- simple-network
-
Enables net of tokio-util
- web
-
Enables web of linera-base, linera-chain, linera-core, linera-execution, and linera-views
- 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.