Cargo Features

linera-base has no features set by default.

linera-base = { version = "0.11.3", features = ["metrics", "web", "test"] }
metrics = prometheus
web = web-time

Enables getrandom, std and std_rng of rand and js of 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.

getrandom web?
prometheus metrics?
test-strategy test?
web-time web?
proptest test?