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