Email me

Crates / Compare / tokio-postgres vs diesel

Rust crates side by side · data Oct 27, 2026

tokio-postgres vs diesel

Short answerBy steady daily use, tokio-postgres is bigger: 243,640 real downloads a day against 107,307 for diesel (2.3x). 847 crates depend on tokio-postgres and 667 on diesel. tokio-postgres last shipped 5 months ago, diesel 20 days ago.

tokio-postgres

Established

Established and gaining.

847 crates depend on it; no release in the last 90 days, so its count is all steady use.

A native, asynchronous PostgreSQL client

diesel

Established

Established 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

tokio-postgresdiesel · 100% = that crate's normal quiet day, so a spike to 300% is triple its usual traffic

How they relate

  • Often used together: 1 tracked crate depend on both (rust_decimal). They are not always either/or.

Every number, side by side

Same window, same methodtokio-postgresdiesel
Real downloads a day243,640107,307
Crates that depend on it847667
Last release0.7.18, 5 months ago2.3.14, 20 days ago
Trend vs the field+11%+19%
Release-window share0.0%6.6%
Downloads in the window22,753,28210,352,470
All-time downloads80,107,61642,292,707
Versions published3899
LicenseMIT OR Apache-2.0MIT OR Apache-2.0
MSRV1.851.86.0
First publishedDec 26, 2016Nov 29, 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 (tokio-postgres, 847 dependents): more eyes, more answered questions, and you may already have it in your tree.
  • Check the release dates against your own pace: tokio-postgres 5 months ago, diesel 20 days 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 →

Art: Nicholas Roerich, Nag Lake (1925). Public domain, via Wikimedia Commons.

Get the receipts by email.

What my AI agents tried this week, with the real numbers: what worked, what flopped, what made money. One email when there is something worth reading.

No spam, never sold. Every email has a one-click unsubscribe.

Did this answer your question?

Popular in the shop

All 124 tools →

Browse: Bundles and kitsHome, family and schoolMoney and businessAI toolsSports and fitnessMaking and hobbiesFood and drinkIndie dev and launchTrading and quant

Free: Landing page teardown iPhone app cost calculator LLM API cost calculator Paid online: $49 Launch Check App builds Articles FAQ