Diesel ORM
Ranked 10 of 11 ORMs by recommenders
Rust ORM that maps SQL types to Rust types through a thin, typed interface. Some find its boilerplate annoying.
Rust ORM that maps SQL types to Rust types through a thin, typed interface. Some find its boilerplate annoying.
8 people gave an opinion
- recommend it
- 6
- criticize it
- 2
- approval share
- 75%
Recommended in 4 of 13 months
- November 2025: not recommended
- December 2025: not recommended
- January 2026: not recommended
- February 2026: recommended
- March 2026: recommended
- April 2026: not recommended
- May 2026: recommended
- June 2026: not recommended
- July 2026: not recommended
- August 2026: not recommended
- September 2026: not recommended
- October 2026: recommended
- November 2026: not recommended (month in progress)
Why it doesn’t carry the badge
- 6 people recommend itNeeds 10 or more, not met.
- 3 recommenders for every criticNeeds 2 to 1 or better, met.
- Recommended in 4 of 13 monthsNeeds 4 or more, met.
The same three rules apply to every product, and the badge can’t be bought. How the badge works
What people say about it
The reasons people give, with the number of comments that give each one. Open a reason to read what they said.
Why people recommend it
Each mark is one comment
Thin typed mapping of SQL types
“a very thin DSL/interface that maps SQL types to Rust types”
Comment from 21 Mar 2026 in “Java Is Fast. Your Code Might Not Be” “because I like formal types”
Comment from 21 Oct 2026 in “Rust off Rails: The opinionated web stack for the AI era” Top choice for Rust web backends
“the Diesel ORM is the #1 reason to be using Rust for a web backend”
Comment from 20 Feb 2026 in “Farewell Rust” “Other languages have similar libraries, e.g., Rust has Diesel.”
Comment from 7 May 2026 in “SQLite Is a Library of Congress Recommended Storage Format”
Other ORMs people recommend
The four most recommended other ORMs, with the same counts for each, so you can compare like for like. The tick on each bar marks the 2 to 1 line the badge needs.
| Product | Recommend | Criticize | Approval | Months | Owned | Badge |
|---|---|---|---|---|---|---|
| Entity Framework Core | 35 | 19 | 65% | 12 | — | — |
| SQLAlchemy | 33 | 28 | 54% | 11 | — | — |
| Drizzle ORM | 25 | 6 | 81% | 10 | — | Approved |
| Dapper | 19 | 3 | 86% | 7 | — | Approved |
| Diesel ORMThis page | 6 | 2 | 75% | 4 | — | — |
What people said
8 of the 9 comments that mention it, newest first. Each links to the original comment.
“because I like formal types”
“mildly annoyed about some the boilerplate Diesel involves”
“Other languages have similar libraries, e.g., Rust has Diesel.”
“I much prefer rust diesel's approach of no lazy queries”
“a very thin DSL/interface that maps SQL types to Rust types”
“Axum, Rocket, Diesel etc, are all IMO not in the same league as Django.”
“it's probably the closest thing out there to EF core outside of .NET”
“the Diesel ORM is the #1 reason to be using Rust for a web backend”
Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.