Cargo Features

[dependencies]
linera-service = { version = "0.13.1", default-features = false, features = ["ethereum", "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
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-client, linera-core, and linera-views

dynamodb

Enables dynamodb of linera-client, linera-core, and linera-views

scylladb

Enables scylladb of linera-client, linera-core, and linera-views

kubernetes

Enables pathdiff, fs_extra, k8s-openapi ^0.21.1, and kube ^0.88.1, kubernetes of linera-client

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

remote-net

Enables k8s-openapi ^0.21.1 and kube ^0.88.1

Affects cli_wrappers::remote_net

metrics = prometheus

Enables metrics of linera-base and linera-client

storage-service default = linera-storage-service

Enables storage-service of linera-client

benchmark

Enables linera-sdk, test of linera-base, benchmark of linera-client

Required by the linera-benchmark binary

test

Enables stdext, test of linera-base, linera-execution, 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?