Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
assets/ | 25-Apr-2025 | - | 147 | 143 | ||
benches/ | 25-Apr-2025 | - | 1,470 | 1,195 | ||
src/ | 25-Apr-2025 | - | 19,757 | 13,898 | ||
tests/ | 25-Apr-2025 | - | 8,849 | 7,818 | ||
.cargo-checksum.json | D | 25-Apr-2025 | 9.2 KiB | 1 | 1 | |
Android.bp | D | 25-Apr-2025 | 998 | 41 | 37 | |
CONTRIBUTING.rst | D | 25-Apr-2025 | 3.4 KiB | 130 | 80 | |
Cargo.toml | D | 25-Apr-2025 | 2.2 KiB | 126 | 105 | |
LICENSE | D | 25-Apr-2025 | 10.6 KiB | 202 | 169 | |
LICENSE-APACHE | D | 25-Apr-2025 | 10.6 KiB | 202 | 169 | |
LICENSE-MIT | D | 25-Apr-2025 | 1 KiB | 26 | 22 | |
METADATA | D | 25-Apr-2025 | 411 | 18 | 17 | |
MODULE_LICENSE_APACHE2 | D | 25-Apr-2025 | 0 | |||
Makefile | D | 25-Apr-2025 | 982 | 39 | 23 | |
README.md | D | 25-Apr-2025 | 2 KiB | 53 | 38 | |
RELEASES.rst | D | 25-Apr-2025 | 21.1 KiB | 597 | 456 | |
cargo_embargo.json | D | 25-Apr-2025 | 43 | 5 | 4 | |
clippy.toml | D | 25-Apr-2025 | 15 | 1 | 1 | |
custom.css | D | 25-Apr-2025 | 533 | 26 | 20 | |
graph-example.dot | D | 25-Apr-2025 | 222 | 16 | 14 |
README.md
1 2 3# petgraph 4 5Graph data structure library. Please read the [API documentation here][]. 6 7Supports 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 15Crate 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 26See [RELEASES][] for a list of changes. The minimum supported rust 27version will only change on major releases. 28 29## Logo 30 31The mascot is named "Sir Paul Rustory Graphosaurus" (close friends call him Paul). 32The logo has been created by the talented Aren. 33 34## License 35 36Dual-licensed to be compatible with the Rust project. 37 38Licensed 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 41be 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