Cargo Features

linera-base has no features set by default.

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

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

getrandom:

Feature to enable JavaScript bindings on wasm*-unknown-unknown

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?