Cargo Features

[dependencies]
linera-service = { version = "0.14.0", default-features = false, features = ["ethereum", "revm", "wasmer", "wasmtime", "rocksdb", "dynamodb", "scylladb", "kubernetes", "remote-net", "metrics", "storage-service", "benchmark", "test"] }
default = rocksdb, storage-service, wasmer

These default features are set whenever linera-service is added without default-features = false somewhere in the dependency tree.

ethereum
revm

Enables alloy-sol-types ^0.8.18, revm of linera-execution and linera-storage

wasmer default

Enables wasmer of linera-client, linera-execution, and linera-storage

wasmtime

Enables wasmtime of linera-client, linera-execution, and linera-storage

rocksdb default

Enables rocksdb of linera-core and linera-views

dynamodb

Enables dynamodb of linera-core and linera-views

scylladb

Enables scylladb of linera-core and linera-views

kubernetes

Enables fs_extra, k8s-openapi ^0.21.1, kube ^0.88.1, and pathdiff

Affects cli_wrappers::docker, cli_wrappers::local_kubernetes_net, net_up_utils::handle_net_up_kubernetes

remote-net

Affects cli_wrappers::remote_net

metrics = prometheus

Enables metrics of linera-base and linera-client

storage-service default = linera-storage-service
benchmark

Enables test of linera-base, benchmark of linera-chain and linera-client

Required by the linera-benchmark binary

test

Enables stdext, test of linera-base, linera-execution, linera-storage, and linera-views

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.

linera-storage-service storage-service
prometheus metrics?

Enables prometheus ^0.13.3