Cargo Features
linera-client has no features set by default.
[dependencies]
linera-client = { version = "0.14.0", features = ["wasmer", "wasmtime", "fs", "metrics", "web", "indexed-db", "web-default", "benchmark", "test", "flarch"] }
- wasmer web-default?
-
Enables wasmer of linera-core, linera-execution, and linera-storage
- wasmtime
-
Enables wasmtime of linera-execution and linera-storage
- fs = fs-err, fs4
-
Enables fs of linera-execution
- metrics
-
Enables metrics of linera-base, linera-chain, linera-core, linera-execution, linera-rpc, and linera-views
- web indexed-db? web-default?
-
Enables wasm-bindgen-futures and web-sys, web of linera-base, linera-chain, linera-core, linera-execution, linera-rpc, linera-storage, and linera-views
- indexed-db web-default? = gloo-utils, indexed_db_futures, serde-wasm-bindgen, web
- web-default = indexed-db, wasmer, web
- benchmark
-
Enables anyhow and crossbeam-channel, linera-sdk, num-format, prometheus-parse, reqwest ^0.11.24, and tokio-util, test of linera-base
Affects
linera-client::benchmark
… - test
-
Enables test of linera-execution and linera-views
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.
- flarch wasm32-unknown-unknown implicit feature
-
Enables flarch ^0.7.0
flarch:
Common implementations for libc and wasm
- fs-err not wasm32 fs?
-
Enables fs-err ^2.11.0
- fs4 not wasm32 fs?
-
Enables fs4 ^0.8.2
- gloo-utils wasm32-unknown-unknown indexed-db?
- indexed_db_futures wasm32-unknown-unknown indexed-db?
-
Enables indexed_db_futures ^0.4.1
- serde-wasm-bindgen wasm32-unknown-unknown indexed-db?