Cargo Features

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

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

parallel default = rayon
timer

Enables timer of aleo-std

metrics

Enables snarkos-node-metrics, metrics of snarkos-node-bft, snarkos-node-consensus, snarkos-node-router, and snarkos-node-tcp

history

Enables history of snarkos-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