rustio rustio.net
66

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 (16.0K crates depend on it)
  • βœ“Team maintained (3 owners)
  • βœ“Permissive license (MIT OR Apache-2.0)

Security

Checking security advisories...
Downloads
323.5M
Dependents
16.0K
Releases
78
Size
808KB

Deep Insights

πŸ“Š
Steady growth

26.9M downloads in the last 30 days (895.9K/day), up 19% from the previous period.

πŸ›οΈ
Foundational crate

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.

πŸ‘₯
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 11/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
734K/day avg+56%
0500K1.0M12/291/162/32/213/113/28

Top Dependents

Version Adoption

v0.6.5
37%
v0.7.1
25%
v0.6.4
16%
v0.5.1
12%
v0.6.3
11%

Release Timeline

78 releases1 yankedsince 2015
J
F
M
A
M
J
J
A
S
O
N
D
2015
34
2016
16
2017
10
2018
3
2019
1
2020
1
2021
1
2022
2
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
16.0K
crates depend on petgraph

Similar Crates