Email me

Best of / Rust crates / databases and SQL

Best of · ranked by real use · data Oct 24, 2026

Best Rust crates for databases and SQL

Short answerBy real use, the top Rust crates for databases and SQL are sqlx (540K a day), rusqlite (505K a day), redis (358K a day). sqlx is our default pick: 540,430 real downloads a day and 4,124 dependents. Gaining fastest against the field: rusqlite (+29%). 4 of these 6 shipped in the last 90 days.

Our picks

  • Default pick: sqlx. The most used that still ships releases, so the most answered questions and the likeliest to already be in your tree.
  • Rising: rusqlite. +29% on quiet days against the field over 90 days.
  • Most recently released: redis (1 day ago).

The ranking

#CrateReal downloads a dayDependentsTrend vs fieldLast releaseWhat it is (its own description)
1sqlx Widely used540,4304,124+12%5mo🧰 The Rust SQL Toolkit. An async, pure Rust SQL crate featuring compile-time checked queries without a DSL....
2rusqlite Widely used505,0015,597+29%3moErgonomic wrapper for SQLite
3redis Widely used358,2701,549+8%1dRedis driver for Rust
4tokio-postgres Established243,640840+11%4moA native, asynchronous PostgreSQL client
5diesel Established107,307667+23%17dA safe, extensible ORM and Query Builder for PostgreSQL, SQLite, and MySQL
6sea-orm Established59,264535-5%27d🐚 An async & dynamic ORM for Rust

Rules

Candidates: crates whose own README says they do this job, picked by hand (sqlx, diesel, rusqlite, tokio-postgres, postgres, sea-orm, mysql, redis, mongodb, rocksdb, sled, redb, deadpool-postgres, r2d2); one appears when we have 80+ days of crates.io data for it. Ranked by real downloads a day (quiet-day median, release-day spikes removed), crates.io data Oct 24, 2026. The default pick is the top crate that shipped a release in the last 2 years. Downloads measure use, not quality, and crates that other libraries pull in rank above tools you add yourself: read each description for fit.

Up next

Another best-of list: Same rules, same data.Best Rust crates for dates and timesRead it next →

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