Decision Workspace
hypergraph vs petgraph vs rshyper
Side-by-side comparison of Rust crates
51
hypergraph
growingv2.2.0
Hypergraph is data structure library to create a directed hypergraph in which an hyperedge can join any number of vertices.
66
petgraph
growingv0.8.3
Graph data structure library. Provides graph types and graph algorithms.
59
rshyper
growingv0.1.9
This crate focuses on hypergraphs
Core Metrics
| hypergraph | petgraph | rshyper | |
|---|---|---|---|
| Health Score | 51 | 66 | 59 |
| Total Downloads | 42.8K | 323.5M | 11.2K |
| 30d Downloads | 90 | 25.9M | 247 |
| Dependents | 0 | 16.0K | 37 |
| Releases | 35 | 78 | 20 |
| Last Updated | 493d ago | 178d ago | 80d ago |
| Age | 5y 4m | 11y 2m | 1y 1m |
Health Breakdown
hypergraph
Maintenance
8
Quality
19
Community
6
Popularity
6
Documentation
12
petgraph
Maintenance
11
Quality
13
Community
19
Popularity
8
Documentation
15
rshyper
Maintenance
15
Quality
18
Community
9
Popularity
5
Documentation
12
Technical Details
| hypergraph | petgraph | rshyper | |
|---|---|---|---|
| Version | 2.2.0 | 0.8.3 | 0.1.9 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | MIT | MIT OR Apache-2.0 | Apache-2.0 |
| Dependencies | 6 | 16 | 6 |
| Crate Size | 25KB | 808KB | 15KB |
| Features | 0 | 12 | 19 |
| Yanked % | 0.0% | 1.3% | 0.0% |
| Edition | 2021 | 2021 | 2024 |
| MSRV | 1.56 | 1.64 | 1.85.0 |
| Owners | 1 | 3 (team) | 1 |
Links
Quick Verdict
- •petgraph leads with a health score of 66/100, but none of the options score above 80.
- •petgraph is depended on by 16.0K crates — strongest ecosystem trust.
- •⚠ hypergraph has not been updated in over a year.
- •petgraph, rshyper are pre-1.0 — API may change.