Cargo Features

linera-core has no features set by default.

[dependencies]
linera-core = { version = "0.11.0", features = ["wasmer", "wasmtime", "rocksdb", "dynamodb", "scylladb", "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-storage and linera-views

Affects test_utils::RocksDbStorageBuilder

dynamodb

Enables dynamodb of linera-storage and linera-views

Affects test_utils::DynamoDbStorageBuilder

scylladb

Enables scylladb of linera-storage and linera-views

Affects test_utils::ScyllaDbStorageBuilder

metrics = prometheus

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

web = wasmtimer

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

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

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

anyhow test?
prometheus metrics?
tempfile test?
test-log test?
test-strategy test?
wasmtimer web?
proptest test?