Cargo Features
[dependencies]
snarkos-node = { version = "3.0.0", default-features = false, features = ["parallel", "timer", "metrics", "history"] }
- 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
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.