Cargo Features

amareleo-node-bft-ledger-service has no features set by default.

[dependencies]
amareleo-node-bft-ledger-service = { version = "2.0.1", features = ["ledger", "ledger-write", "metrics", "prover", "translucent", "test_targets", "test", "mock"] }
ledger translucent? = lru, parking_lot, rand, tokio, tracing

Affects amareleo-node-bft-ledger-service::ledger

ledger-write

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

metrics

Enables amareleo-node-metrics, metrics of snarkvm

prover

Affects amareleo-node-bft-ledger-service::prover

translucent test? = ledger

Affects amareleo-node-bft-ledger-service::translucent

test_targets

Enables test_targets of snarkvm

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

Affects amareleo-node-bft-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.

lru ledger?

Enables lru ^0.12

rand ledger?

Enables rand ^0.8

tokio ledger?
parking_lot ledger? mock?
tracing ledger? mock?