Cargo Features

[dependencies]
siraph = { version = "0.1.2", default-features = false, features = ["nodes", "math", "random"] }
default = nodes

The nodes feature is set by default whenever siraph is added without default-features = false somewhere in the dependency tree.

nodes default math? random?

This feature adds the node module that contains basic nodes as Const or Map.

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.

num-traits math?
rand random?