Crates / Compare / either vs petgraph
Rust crates side by side · data Oct 24, 2026
either vs petgraph
Short answerBy steady daily use, either is bigger: 3,049,603 real downloads a day against 1,525,364 for petgraph (2.0x). 1,488 crates depend on either and 1,570 on petgraph. either last shipped 18 days ago, petgraph 13 months ago.
either
Widely usedWidely used and steady.
1,488 crates depend on it; small bumps on release days (1.17x the baseline).
The enum `Either` with variants `Left` and `Right` is a general purpose sum type with two cases.
petgraph
Widely usedWidely used and steady.
1,570 crates depend on it; no release in the last 90 days, so its count is all steady use.
Graph data structure library. Provides graph types and graph algorithms.
eitherpetgraph · 100% = that crate's normal quiet day, so a spike to 300% is triple its usual traffic
Every number, side by side
| Same window, same method | either | petgraph |
|---|---|---|
| Real downloads a day | 3,049,603 | 1,525,364 |
| Crates that depend on it | 1,488 | 1,570 |
| Last release | 1.19.0, 18 days ago | 0.8.3, 13 months ago |
| Trend vs the field | -3% | -7% |
| Release-window share | 5.3% | 0.0% |
| Downloads in the window | 272,811,687 | 129,157,737 |
| All-time downloads | 1,137,983,028 | 571,480,783 |
| Versions published | 36 | 78 |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| MSRV | 1.63.0 | 1.64 |
| First published | Sep 14, 2015 | Jan 11, 2015 |
Which to pick
- Downloads tell you what is common, not what fits. Each crate's own description above says what it is for; when the jobs differ, pick by the job.
- When both fit, prefer the one more crates depend on (petgraph, 1,570 dependents): more eyes, more answered questions, and you may already have it in your tree.
- Check the release dates against your own pace: either 18 days ago, petgraph 13 months ago.
Also in this space
Method
Real downloads = the median day with no release that day or the day before, from the crates.io API (Jul 27, 2026 to Oct 23, 2026). Raw crates.io counts include CI and bots and run high (why); the method is from our 90-day study.
Up next
Another comparison: Same method, same window. Foundational and steady vs widely used and steady.reqwest vs ureqRead it next →Also worth your time