Cargo Features
[dependencies]
linera-client = { version = "0.13.1", default-features = false, features = ["wasmer", "wasmtime", "rocksdb", "dynamodb", "scylladb", "storage-service", "kubernetes", "fs", "metrics", "web", "indexed-db", "web-default", "benchmark", "test", "flarch"] }
- default = fs
-
The
fs
feature is set by default wheneverlinera-client
is added without
somewhere in the dependency tree.default-features = false - wasmer web-default?
-
Enables wasmer of linera-core, linera-execution, and linera-storage
- wasmtime
-
Enables wasmtime of linera-execution and linera-storage
- rocksdb
-
Enables rocksdb of linera-views
- dynamodb
-
Enables dynamodb of linera-views
- scylladb
-
Enables scylladb of linera-views
- storage-service = linera-storage-service
- kubernetes
- fs default = 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 linera-sdk, test of linera-base
- 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.
- linera-storage-service storage-service?
- 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?