Cargo Features

[dependencies]
snarkvm-ledger-store = { version = "0.16.19", default-features = false, features = ["rocks", "serial", "wasm", "test", "rayon"] }
default = rayon

These default features are set whenever snarkvm-ledger-store is added without default-features = false somewhere in the dependency tree.

Enables rayon of indexmap

rocks = once_cell, rocksdb, tracing

Affects helpers::rocksdb

serial

Enables serial of snarkvm-console, snarkvm-ledger-block, snarkvm-ledger-coinbase, snarkvm-ledger-committee, snarkvm-synthesizer-program, and snarkvm-synthesizer-snark

wasm

Enables wasm of snarkvm-console, snarkvm-ledger-authority, snarkvm-ledger-block, snarkvm-ledger-coinbase, snarkvm-ledger-committee, snarkvm-ledger-narwhal-batch-certificate, snarkvm-synthesizer-program, and snarkvm-synthesizer-snark

test

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.

once_cell rocks?
rayon default
rocksdb rocks?

Enables rocksdb ^0.21

tracing rocks?