Cargo Features
[dependencies]
tobz1000-petgraph = { version = "0.5.1-tobz1000", default-features = false, features = ["graphmap", "serde-1", "stable_graph", "matrix_graph", "generate", "unstable", "all"] }
- default = graphmap, matrix_graph, stable_graph
-
These default features are set whenever
tobz1000-petgraph
is added without
somewhere in the dependency tree.default-features = false - graphmap default all?
-
Affects
tobz1000-petgraph::graphmap
… - serde-1 = serde, serde_derive
-
Affects
util::rev
… - stable_graph default all?
-
Affects
graph_impl::stable_graph
… - matrix_graph default all?
-
Affects
tobz1000-petgraph::matrix_graph
… - generate unstable?
-
For unstable features
Affects
tobz1000-petgraph::generate
… - unstable all? = generate
- all = graphmap, matrix_graph, quickcheck, stable_graph, unstable
-
feature flags for testing use only
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.
- quickcheck all?
-
Enables quickcheck ^0.8
- serde serde-1?
- serde_derive serde-1?