Cargo Features

[dependencies]
amareleo-node = { version = "2.0.1", default-features = false, features = ["parallel", "timer", "metrics", "history", "test_targets"] }
default = parallel

The parallel feature is set by default whenever amareleo-node is added without default-features = false somewhere in the dependency tree.

parallel default = rayon
timer

Enables timer of aleo-std

metrics

Enables amareleo-node-metrics, metrics of amareleo-node-bft and amareleo-node-consensus

history

Enables history of amareleo-node-rest

test_targets

Enables test_targets of snarkvm

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.

rayon parallel