Cargo Features
[dependencies]
siraph = { version = "0.1.2", default-features = false, features = ["nodes", "math", "random"] }
- default = nodes
-
The
nodes
feature is set by default wheneversiraph
is added without
somewhere in the dependency tree.default-features = false - nodes default math? random?
-
This feature adds the
node
module that contains basic nodes asConst
orMap
.Affects
siraph::nodes
… - math = nodes, num-traits
-
This feature adds the
math
module that contains useful nodes for doing math.This feature depends on the
num-traits
crate.Affects
nodes::math
… - random = nodes, rand
-
This feature adds the
random
module that contains usefull nodes related to random number generators.This feature depends on the
rand
crate.Affects
nodes::random
…
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.