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
somewhere in the dependency tree.default-features = false - 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?
- narwhal-batch-header batch-header serial? test-helpers? wasm?
- narwhal-subdag serial? subdag test-helpers? wasm?
-
Enables snarkvm-ledger-narwhal-subdag
- narwhal-transmission serial? test-helpers? transmission wasm?
- narwhal-transmission-id serial? test-helpers? transmission-id wasm?