Cargo Features

[dependencies]
snarkvm-ledger-narwhal = { version = "1.1.0", default-features = false, features = ["async", "serial", "wasm", "batch-certificate", "batch-header", "data", "subdag", "transmission", "transmission-id", "test-helpers"] }
default = batch-certificate, batch-header, data, subdag, transmission, transmission-id

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

async

Enables async of snarkvm-ledger-narwhal-data

serial

Enables serial of snarkvm-ledger-narwhal-batch-certificate, snarkvm-ledger-narwhal-batch-header, snarkvm-ledger-narwhal-subdag, snarkvm-ledger-narwhal-transmission, and snarkvm-ledger-narwhal-transmission-id

wasm

Enables wasm of snarkvm-ledger-narwhal-batch-certificate, snarkvm-ledger-narwhal-batch-header, snarkvm-ledger-narwhal-subdag, snarkvm-ledger-narwhal-transmission, and snarkvm-ledger-narwhal-transmission-id

batch-certificate default = narwhal-batch-certificate
batch-header default = narwhal-batch-header
data default = narwhal-data
subdag default = narwhal-subdag
transmission default = narwhal-transmission
transmission-id default = narwhal-transmission-id
test-helpers

Enables test-helpers of snarkvm-ledger-narwhal-batch-certificate, snarkvm-ledger-narwhal-batch-header, snarkvm-ledger-narwhal-subdag, snarkvm-ledger-narwhal-transmission, and snarkvm-ledger-narwhal-transmission-id

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.

narwhal-data async? data

Enables snarkvm-ledger-narwhal-data

narwhal-batch-certificate batch-certificate serial? test-helpers? wasm?

Enables snarkvm-ledger-narwhal-batch-certificate

narwhal-batch-header batch-header serial? test-helpers? wasm?

Enables snarkvm-ledger-narwhal-batch-header

narwhal-subdag serial? subdag test-helpers? wasm?

Enables snarkvm-ledger-narwhal-subdag

narwhal-transmission serial? test-helpers? transmission wasm?

Enables snarkvm-ledger-narwhal-transmission

narwhal-transmission-id serial? test-helpers? transmission-id wasm?

Enables snarkvm-ledger-narwhal-transmission-id