Cargo Features

linera-base has no features set by default.

[dependencies]
linera-base = { version = "0.13.1", features = ["metrics", "web", "test"] }
metrics = prometheus
web = futures, tracing-web, wasm-bindgen-futures, wasm_thread, wasmtimer, web-time

Enables js of getrandom, getrandom, std and std_rng of rand

test = proptest, test-strategy

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.

futures web?
getrandom web?
prometheus metrics?
test-strategy test?

Enables test-strategy ^0.3.1

wasm-bindgen-futures web?
wasm_thread web?
wasmtimer web?

Enables wasmtimer ^0.2.0

web-time web?
tracing-web wasm32 web?
proptest test?