Cargo Features

[dependencies]
linera-service = { version = "0.15.6", default-features = false, features = ["ethereum", "revm", "wasmer", "wasmtime", "rocksdb", "dynamodb", "scylladb", "kubernetes", "remote-net", "metrics", "jemalloc", "memory-profiling", "storage-service", "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, revm of linera-base, 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 net_up_utils::handle_net_up_kubernetes, cli_wrappers::docker, cli_wrappers::local_kubernetes_net

remote-net

Affects cli_wrappers::remote_net

metrics memory-profiling? = linera-metrics, prometheus

Enables metrics of linera-base, linera-client, and linera-faucet-server

jemalloc memory-profiling? = tikv-jemallocator
memory-profiling = jemalloc, metrics

Enables tikv-jemallocator, memory-profiling of linera-metrics

Affects linera-service::malloc_conf, linera-service::malloc_conf, linera-service::malloc_conf, linera-service::malloc_conf, linera-service::malloc_conf, linera-service::malloc_conf

storage-service default = linera-storage-service
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-metrics memory-profiling? metrics?
linera-storage-service storage-service
prometheus metrics?

Enables prometheus ^0.13.3

tikv-jemallocator jemalloc? memory-profiling?