Cargo Features

linera-core has no features set by default.

[dependencies]
linera-core = { version = "0.13.0", features = ["wasmer", "wasmtime", "rocksdb", "dynamodb", "scylladb", "storage-service", "unstable-oracles", "metrics", "web", "test"] }
wasmer

Enables wasmer of linera-execution and linera-storage

wasmtime

Enables wasmtime of linera-execution and linera-storage

rocksdb

Enables rocksdb of linera-views

Affects test_utils::RocksDbStorageBuilder

dynamodb

Enables dynamodb of linera-views

Affects test_utils::DynamoDbStorageBuilder

scylladb

Enables scylladb of linera-views

Affects test_utils::ScyllaDbStorageBuilder

storage-service = linera-storage-service

Affects test_utils::ServiceStorageBuilder

unstable-oracles
metrics = prometheus

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

web = wasm-bindgen-futures

Enables web of linera-base, linera-chain, linera-execution, linera-storage, and linera-views

test = anyhow, proptest, test-log, test-strategy

Enables parking_lot of tokio, test of linera-base, linera-chain, linera-execution, linera-storage, linera-storage-service, 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.

anyhow test?
prometheus metrics?
test-log test?
test-strategy test?

Enables test-strategy ^0.3.1

wasm-bindgen-futures web?
linera-storage-service not wasm32 storage-service? test?
proptest test?