• Home
  • History
  • Annotate
Name
Date
Size
#Lines
LOC

..--

assets/25-Apr-2025-147143

benches/25-Apr-2025-1,4701,195

src/25-Apr-2025-19,75713,898

tests/25-Apr-2025-8,8497,818

.cargo-checksum.jsonD25-Apr-20259.2 KiB11

Android.bpD25-Apr-2025998 4137

CONTRIBUTING.rstD25-Apr-20253.4 KiB13080

Cargo.tomlD25-Apr-20252.2 KiB126105

LICENSED25-Apr-202510.6 KiB202169

LICENSE-APACHED25-Apr-202510.6 KiB202169

LICENSE-MITD25-Apr-20251 KiB2622

METADATAD25-Apr-2025411 1817

MODULE_LICENSE_APACHE2D25-Apr-20250

MakefileD25-Apr-2025982 3923

README.mdD25-Apr-20252 KiB5338

RELEASES.rstD25-Apr-202521.1 KiB597456

cargo_embargo.jsonD25-Apr-202543 54

clippy.tomlD25-Apr-202515 11

custom.cssD25-Apr-2025533 2620

graph-example.dotD25-Apr-2025222 1614

README.md

1 ![](assets/graphosaurus-512.png)
2 
3 # petgraph
4 
5 Graph data structure library. Please read the [API documentation here][].
6 
7 Supports Rust 1.64 and later.
8 
9 [![Crates.io][crates-badge]][crates-url]
10 [![docs.rs][docsrs-badge]][docsrs-url]
11 ![MSRV][msrv-badge]
12 [![Discord chat][discord-badge]][discord-url]
13 [![build_status][]](https://github.com/petgraph/petgraph/actions)
14 
15 Crate feature flags:
16 
17 -   `graphmap` (default) enable `GraphMap`.
18 -   `stable_graph` (default) enable `StableGraph`.
19 -   `matrix_graph` (default) enable `MatrixGraph`.
20 -   `serde-1` (optional) enable serialization for `Graph, StableGraph, GraphMap`
21     using serde 1.0. Requires Rust version as required by serde.
22 -   `rayon` (optional) enable parallel iterators for the underlying data in `GraphMap`. Requires Rust version as required by Rayon.
23 
24 ## Recent Changes
25 
26 See [RELEASES][] for a list of changes. The minimum supported rust
27 version will only change on major releases.
28 
29 ## Logo
30 
31 The mascot is named "Sir Paul Rustory Graphosaurus" (close friends call him Paul).
32 The logo has been created by the talented Aren.
33 
34 ## License
35 
36 Dual-licensed to be compatible with the Rust project.
37 
38 Licensed under the Apache License, Version 2.0
39 <http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
40 <http://opensource.org/licenses/MIT>, at your option. This file may not
41 be copied, modified, or distributed except according to those terms.
42 
43 [API documentation here]: https://docs.rs/petgraph/
44 [build_status]: https://github.com/petgraph/petgraph/workflows/Continuous%20integration/badge.svg?branch=master
45 [docsrs-badge]: https://img.shields.io/docsrs/petgraph
46 [docsrs-url]: https://docs.rs/petgraph/latest/petgraph/
47 [crates-badge]: https://img.shields.io/crates/v/petgraph.svg
48 [crates-url]: https://crates.io/crates/petgraph
49 [discord-badge]:  https://img.shields.io/discord/1166289348384280616?logo=discord&style=flat
50 [discord-url]: https://discord.gg/n2tc79tJ4e
51 [msrv-badge]: https://img.shields.io/badge/rustc-1.64+-blue.svg
52 [RELEASES]: RELEASES.rst
53