Cargo Features

snarkos-node-narwhal-ledger-service has no features set by default.

[dependencies]
snarkos-node-narwhal-ledger-service = { version = "2.2.0", features = ["ledger", "ledger-write", "prover", "translucent", "test", "mock"] }
ledger translucent? = tokio, tracing

Affects snarkos-node-narwhal-ledger-service::ledger

ledger-write

Affects traits::LedgerService.prepare_advance_to_next_quorum_block, traits::LedgerService.advance_to_next_block

prover

Affects snarkos-node-narwhal-ledger-service::prover

translucent test? = ledger

Affects snarkos-node-narwhal-ledger-service::translucent

test = mock, translucent
mock test? = parking_lot, tracing

Affects snarkos-node-narwhal-ledger-service::mock

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.

parking_lot mock?
tokio ledger?
tracing ledger? mock?