Cargo Features
[dependencies]
sc-service = { version = "0.46.0", default-features = false, features = ["rocksdb", "test-helpers", "runtime-benchmarks"] }
- default = rocksdb
-
The
rocksdb
feature is set by default wheneversc-service
is added without
somewhere in the dependency tree.default-features = false - rocksdb default
-
The RocksDB feature activates the RocksDB database backend. If it is not activated, and you pass a path to a database, an error will be produced at runtime.
Enables rocksdb of sc-client-db
- test-helpers
-
exposes the client type
Affects
client::new_in_mem
,client::new_with_backend
,sc-service::client
… - runtime-benchmarks
-
Enables runtime-benchmarks of sc-client-db and sp-runtime