Cargo Features

linera-base has no features set by default.

[dependencies]
linera-base = { version = "0.14.0", features = ["metrics", "reqwest", "web", "test"] }
metrics = prometheus
reqwest

Enables reqwest ^0.11.24

web = tracing-web, wasm-bindgen, wasm-bindgen-futures, wasm_thread, wasmtimer, web-sys, web-time

Enables js of getrandom ^0.2.12, getrandom, std and std_rng of rand ^0.8.5

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?

Enables getrandom ^0.2.12

prometheus metrics?

Enables prometheus ^0.13.3

test-strategy test?

Enables test-strategy ^0.3.1

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

Enables wasmtimer ^0.2.0

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