Simplify trait definition (#605)

83 files changed
tree: 85da3f9464e6a92b91300a8aab86976f3818fb0b
  1. .cargo/
  2. .github/
  3. crates/
  4. doc/
  5. src/
  6. .gitattributes
  7. .gitignore
  8. Cargo.toml
  9. CHANGELOG.md
  10. clippy.toml
  11. CONTRIBUTING.rst
  12. justfile
  13. LICENSE-APACHE
  14. LICENSE-MIT
  15. README.md
  16. rust-toolchain.toml
  17. rustfmt.toml
README.md

petgraph

Graph data structure library. Please read the API documentation here.

Supports Rust 1.65 and later (some older versions may require picking the dependency versions by hand).

build_status crates gitter

Crate feature flags:

  • graphmap (default) enable GraphMap.
  • stable_graph (default) enable StableGraph.
  • matrix_graph (default) enable MatrixGraph.
  • serde-1 (optional) enable serialization for Graph, StableGraph, GraphMap using serde 1.0. Requires Rust version as required by serde.

Recent Changes

See CHANGELOG for a list of changes. The minimum supported rust version will only change on major releases.

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.