Cargo Features

[dependencies]
snarkvm-ledger = { version = "1.1.0", 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

metrics

Enables metrics of snarkvm-ledger-committee

rocks

Enables rocks of snarkvm-ledger-store

serial

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

timer

Enables timer of aleo-std

test-helpers = ledger-test-helpers

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

test

Enables test of snarkvm-console, 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