Cargo Features

snarkvm-ledger = { version = "0.16.19", default-features = false, features = ["async", "metrics", "rocks", "serial", "timer", "test-helpers", "test", "rayon"] }
default = async, rayon

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

Enables rayon of indexmap

async default

Enables async of snarkvm-ledger-narwhal, snarkvm-ledger-query, and snarkvm-synthesizer


Enables metrics of snarkvm-ledger-committee


Enables rocks of snarkvm-ledger-store


Enables serial of snarkvm-console, snarkvm-ledger-authority, snarkvm-ledger-block, snarkvm-ledger-coinbase, snarkvm-ledger-committee, snarkvm-ledger-narwhal, snarkvm-ledger-query, snarkvm-ledger-store, and snarkvm-synthesizer


Enables timer of aleo-std

test-helpers = ledger-test-helpers

Enables test-helpers of snarkvm-ledger-committee and snarkvm-ledger-narwhal


Enables test of snarkvm-ledger-block and snarkvm-ledger-store

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.

ledger-test-helpers test-helpers?

Enables snarkvm-ledger-test-helpers

rayon default