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