rustio rustio.net
63

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

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

Security

Checking security advisories...
Downloads
546.4M
Dependents
22.3K
Releases
78
Size
808KB

Deep Insights

πŸ“Š
Steady growth

45.8M downloads in the last 30 days (1.5M/day), up 13% from the previous period.

πŸ›οΈ
Foundational crate

22.3K 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, naga, cargo-lock. When high-quality crates choose petgraph, it's a strong quality signal.

Health Breakdown

Maintenance 8/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
459K/day avg-100%
0500K1.0M1.5M2.0M8/229/99/2710/1511/211/19

Top Dependents

Version Adoption

v0.6.5
34%
v0.8.3
25%
v0.7.1
24%
v0.6.4
10%
v0.6.3
7%

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
22.3K
crates depend on petgraph

Similar Crates