Cargo Features
linera-base has no features set by default.
[dependencies]
linera-base = { version = "0.11.0", features = ["metrics", "web", "test"] }
- metrics = prometheus
- web = 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.