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 whenever sc-service is added without default-features = false somewhere in the dependency tree.

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