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