Cargo Features
[dependencies]
linera-service = { version = "0.11.0", default-features = false, features = ["wasmer", "wasmtime", "rocksdb", "dynamodb", "scylladb", "kubernetes", "remote_net", "metrics", "benchmark", "test"] }
- default = rocksdb, wasmer
-
These default features are set whenever
linera-service
is added without
somewhere in the dependency tree.default-features = false - wasmer default
-
Enables linera-execution and linera-storage
- wasmtime
-
Enables wasmtime of linera-execution and linera-storage
- rocksdb default
-
Enables linera-core, rocksdb of linera-storage and linera-views
Affects
net_up_utils::handle_net_up_rocks_db
… - dynamodb
-
Enables dynamodb of linera-core, linera-storage, and linera-views
- scylladb
-
Enables scylladb of linera-core, linera-storage, and linera-views
- kubernetes
-
Enables fs_extra, k8s-openapi ^0.21.1, kube ^0.88.1, and pathdiff
Affects
cli_wrappers::docker
,cli_wrappers::local_kubernetes_net
,net_up_utils::handle_net_up_kubernetes
… - remote_net
-
Enables k8s-openapi ^0.21.1 and kube ^0.88.1
Affects
cli_wrappers::remote_net
… - metrics = prometheus
-
Enables linera-base
- benchmark
-
Enables linera-sdk and port-selector, test of linera-base
Required by the linera-benchmark binary
- 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.