Cargo Features

[dependencies]
snarkvm-ledger-store = { version = "1.0.0", 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, smallvec, tracing

Affects helpers::rocksdb

serial

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

wasm

Enables wasm of snarkvm-console, snarkvm-ledger-authority, snarkvm-ledger-block, snarkvm-ledger-committee, snarkvm-ledger-narwhal-batch-certificate, snarkvm-ledger-puzzle, 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

smallvec rocks?
tracing rocks?