Cargo Features
[dependencies]
nopetgraph = { version = "0.5.3", default-features = false, features = ["std", "graphmap", "serde-1", "stable_graph", "matrix_graph", "generate", "unstable", "all"] }
- default = graphmap, matrix_graph, stable_graph, std
-
These default features are set whenever
nopetgraph
is added without
somewhere in the dependency tree.default-features = false - std default
-
Enables std of fixedbitset ^0.3.0, noindexmap, serde, and twox-hash
noindexmap:
Force the use of
std
, bypassing target detection.Affects
astar::astar
,dijkstra::dijkstra
… - graphmap default all?
-
Affects
nopetgraph::graphmap
… - serde-1 = serde_derive
-
Affects
util::rev
… - stable_graph default all?
-
Affects
graph_impl::stable_graph
… - matrix_graph default all?
-
Affects
nopetgraph::matrix_graph
… - generate unstable?
-
For unstable features
Affects
nopetgraph::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 std
- serde_derive serde-1?