rustio rustio.net
64

petgraph

v0.8.3 Growing

Graph data structure library. Provides graph types and graph algorithms.

MIT OR Apache-2.0 Edition 2021 MSRV 1.64
Data structures #data-structure#graph#unionfind#graph-algorithms

Quick Verdict

  • !Pre-1.0: API may have breaking changes
  • βœ“Massive adoption (19.4K crates depend on it)
  • βœ“Team maintained (3 owners)
  • βœ“Permissive license (MIT OR Apache-2.0)

Security

Checking security advisories...
Downloads
427.9M
Dependents
19.4K
Releases
78
Size
808KB

Deep Insights

πŸ“Š
Stable downloads

29.5M downloads in the last 30 days (983.5K/day). Volume is roughly flat compared to the previous period.

πŸ›οΈ
Foundational crate

19.4K crates depend on petgraph β€” it's part of the Rust ecosystem's core infrastructure. Removing it from your dependency tree would be extremely difficult.

πŸ‘₯
Team maintained

This crate is maintained by a team (3 owners), reducing bus-factor risk and ensuring continuity.

πŸ”¬
Pre-1.0 for over a year

Despite being 11+ years old, petgraph hasn't reached 1.0 yet. Expect potential API changes between versions.

🌟
Used by top crates

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

Maintenance 9/25

Recency, release consistency, active ratio

Quality 13/25

Yanked ratio, deps, size, maturity, features

Community 19/20

Reverse deps, ownership, ecosystem

Popularity 8/15

Downloads, momentum, growth trend

Documentation 15/15

Docs, repo, license, metadata

Download Trend

Daily downloads Β· last 90 days
913K/day avg-50%
0500K1.0M1.5M4/265/146/16/197/77/24

Top Dependents

Version Adoption

v0.6.5
37%
v0.7.1
24%
v0.8.3
17%
v0.6.4
13%
v0.6.3
9%

Release Timeline

10 releases1 yankedsince 2023
J
F
M
A
M
J
J
A
S
O
N
D
2023
2
2024
3
2025
5
2026
Less
More|
Yanked

Feature Flags

default =["std", "graphmap", "stable_graph", "matrix_graph"]

allstd*rayonserde-1generategraphmap*unstabledot_parserquickcheckmatrix_graph*stable_graph*

README

Loading README...

Maintainers

Dependencies
16
direct dependencies
Dependents
19.4K
crates depend on petgraph

Similar Crates