petgraph
Graph data structure library. Please read the API documentation here.
Supports Rust 1.64 and later.
Crate feature flags:
graphmap
(default) enableGraphMap
.stable_graph
(default) enableStableGraph
.matrix_graph
(default) enableMatrixGraph
.serde-1
(optional) enable serialization forGraph, StableGraph, GraphMap
using serde 1.0. Requires Rust version as required by serde.rayon
(optional) enable parallel iterators for the underlying data inGraphMap
. Requires Rust version as required by Rayon.
Recent Changes
See RELEASES for a list of changes. The minimum supported rust version will only change on major releases.
Logo
The mascot is named "Sir Paul Rustory Graphosaurus" (close friends call him Paul). The logo has been created by the talented Aren.
License
Dual-licensed to be compatible with the Rust project.
Licensed under the Apache License, Version 2.0 http://www.apache.org/licenses/LICENSE-2.0 or the MIT license http://opensource.org/licenses/MIT, at your option. This file may not be copied, modified, or distributed except according to those terms.