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 wheneveramareleo-node
is added without
somewhere in the dependency tree.default-features = false - parallel default = rayon
- timer
- 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.