petgraph
v0.8.3 GrowingGraph data structure library. Provides graph types and graph algorithms.
Quick Verdict
- !Pre-1.0: API may have breaking changes
- βMassive adoption (16.0K crates depend on it)
- βTeam maintained (3 owners)
- βPermissive license (MIT OR Apache-2.0)
Security
Deep Insights
26.9M downloads in the last 30 days (895.9K/day), up 19% from the previous period.
16.0K crates depend on petgraph β it's part of the Rust ecosystem's core infrastructure. Removing it from your dependency tree would be extremely difficult.
This crate is maintained by a team (3 owners), reducing bus-factor risk and ensuring continuity.
Despite being 11+ years old, petgraph hasn't reached 1.0 yet. Expect potential API changes between versions.
Notable dependents include parking_lot_core, prost-build, lalrpop, cargo-lock, naga. When high-quality crates choose petgraph, it's a strong quality signal.
Health Breakdown
Recency, release consistency, active ratio
Yanked ratio, deps, size, maturity, features
Reverse deps, ownership, ecosystem
Downloads, momentum, growth trend
Docs, repo, license, metadata
Download Trend
Top Dependents
Version Adoption
Release Timeline
Feature Flags
default =["std", "graphmap", "stable_graph", "matrix_graph"]