Crates / Compare / diesel vs postgres
Rust crates side by side · data Oct 27, 2026
diesel vs postgres
Short answerBy steady daily use, diesel is bigger: 107,307 real downloads a day against 45,519 for postgres (2.4x). 667 crates depend on diesel and 460 on postgres. diesel last shipped 20 days ago, postgres 5 months ago.
diesel
EstablishedEstablished and gaining.
667 crates depend on it; downloads don't spike on releases.
A safe, extensible ORM and Query Builder for PostgreSQL, SQLite, and MySQL
postgres
EstablishedEstablished and steady.
460 crates depend on it; no release in the last 90 days, so its count is all steady use.
A native, synchronous PostgreSQL client
dieselpostgres · 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 | diesel | postgres |
|---|---|---|
| Real downloads a day | 107,307 | 45,519 |
| Crates that depend on it | 667 | 460 |
| Last release | 2.3.14, 20 days ago | 0.19.14, 5 months ago |
| Trend vs the field | +19% | +8% |
| Release-window share | 6.6% | 0.0% |
| Downloads in the window | 10,352,470 | 4,277,765 |
| All-time downloads | 42,292,707 | 20,460,237 |
| Versions published | 99 | 110 |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| MSRV | 1.86.0 | 1.85 |
| First published | Nov 29, 2015 | Nov 24, 2014 |
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 (diesel, 667 dependents): more eyes, more answered questions, and you may already have it in your tree.
- Check the release dates against your own pace: diesel 20 days ago, postgres 5 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 30, 2026 to Oct 26, 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. Widely used and gaining vs established and gaining.sqlx vs dieselRead it next →Also worth your time
Art: Nicholas Roerich, Nag Lake (1925). Public domain, via Wikimedia Commons.
