Decision Workspace
portgraph vs petgraph vs hypergraph
Side-by-side comparison of Rust crates
61
portgraph
growingv0.16.1
Data structure library for directed graphs with first-level ports.
65
petgraph
growingv0.8.3
Graph data structure library. Provides graph types and graph algorithms.
63
hypergraph
stablev4.2.0
Hypergraph is data structure library to create a directed hypergraph in which an hyperedge can join any number of vertices.
Core Metrics
| portgraph | petgraph | hypergraph | |
|---|---|---|---|
| Health Score | 61 | 65 | 63 |
| Total Downloads | 427.5K | 377.6M | 43.0K |
| 30d Downloads | 21.4K | 31.2M | 0 |
| Dependents | 232 | 17.7K | 0 |
| Releases | 33 | 78 | 39 |
| Last Updated | 42d ago | 237d ago | today |
| Age | 3y 2m | 11y 4m | 5y 6m |
Health Breakdown
portgraph
Maintenance
17
Quality
10
Community
12
Popularity
7
Documentation
15
petgraph
Maintenance
10
Quality
13
Community
19
Popularity
8
Documentation
15
hypergraph
Maintenance
19
Quality
20
Community
6
Popularity
6
Documentation
12
Technical Details
| portgraph | petgraph | hypergraph | |
|---|---|---|---|
| Version | 0.16.1 | 0.8.3 | 4.2.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | Apache-2.0 | MIT OR Apache-2.0 | MIT |
| Dependencies | 18 | 16 | 12 |
| Crate Size | 140KB | 808KB | 88KB |
| Features | 4 | 12 | 2 |
| Yanked % | 9.1% | 1.3% | 0.0% |
| Edition | 2021 | 2021 | 2024 |
| MSRV | 1.75 | 1.64 | 1.95 |
| Owners | 2 | 3 (team) | 1 |
Links
Quick Verdict
- •petgraph leads with a health score of 65/100, but none of the options score above 80.
- •petgraph is depended on by 17.7K crates — strongest ecosystem trust.
- •portgraph, petgraph are pre-1.0 — API may change.