Rust ORM

Open-source Rust projects categorized as ORM Edit details
Related topics: #Rust #Database #Sqlite #SQL #MySQL

Top 11 Rust ORM Projects

  • diesel

    A safe, extensible ORM and Query Builder for Rust

    Project mention: What's everyone working on this week (25/2022)? | | 2022-06-20

    A flexible Diesel backend for storing data in Postgres with embedded migrations

  • sled

    the champagne of beta embedded databases

    Project mention: Sled - the champagne of beta embedded databases | | 2022-06-06
  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • sea-orm

    🐚 An async & dynamic ORM for Rust

    Project mention: About the dotenv crate | | 2022-06-17

    A bit of both but saying we should expect bugs caught my attention more. The other ORM sea-orm so I'll just go along with dotenv for now

  • rbatis

    Rust High Performance compile-time ORM(RBSON based)

    Project mention: Reviews of the Diesel ORM, are there better alternatives? | | 2022-05-15


  • rustorm

    an orm for rust

    Project mention: Technologies I'm Learning in 2022 | | 2022-01-05

    rustorm - orm in rust

  • ormx

    bringing orm-like features to sqlx

    Project mention: Actix Web v4.0 (Rust) | | 2022-02-25

    I think there are quite some macros that accelerate a CRUD creation app, for example, take a look at sqlx with ormx:

  • deuterium-orm

    Fully typed SQL query builder for Rust [deprecated]

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • treasure

    ORM for rust (journey begins) (by phonkee)

  • Catalytic

    🚀 Catalytic is an ORM for ScyllaDb and Cassandra which provides zero-cost abstractions for querying and generating Rust structs based on the database. Scylla and Cassandra are both NoSQL databases which can scale horizontally and hold large amounts of data.

    Project mention: Why is 'unicode-segmentation' in my Cargo.lock despite I don't have it anywhere in my dependencies? | | 2022-05-13

    The Cargo.lock file:

  • ormlite

    An ORM in Rust for developers that love SQL.

    Project mention: Reviews of the Diesel ORM, are there better alternatives? | | 2022-05-15

    It’s extremely young, but I created Ormlite ( because I wanted a lightweight ORM that doesn’t involve learning a custom DSL. Like seaorm, it builds on sqlx and is fully async.

  • rusqlite-model

    Model trait and derive implementation for rusqlite

    Project mention: Show HN: Write universally accessible SQL, not library-specific ORM wrapper APIs | | 2021-08-10

    I'm quite anti-ORM, though I've never not used one professionally (just because it's already been there / not my decision), so that might be different if I did for a while. I do think something's necessary though, and it maybe is a bit arbitrary where we draw the line for what's an 'ORM'?

    For example, I really enjoyed using rusqlite for a little side project/personal thing, but found apart from anything else just the repetition of `(?,?,?,?,?,?)` any time I wanted to insert something was annoying, for example. I started working a bit on [0] .. I don't know if I'd call it an ORM, just so I didn't have to do that, and could write `Model { ... }.insert(&conn)` instead. But still write plain SQL queries, I just want easy mapping between db table and language 'model' struct/class; column and field/attr.

    [0] -

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2022-06-20.

Rust ORM related posts


What are some of the best open-source ORM projects in Rust? This list will help you:

Project Stars
1 diesel 8,632
2 sled 5,989
3 sea-orm 2,181
4 rbatis 1,439
5 rustorm 227
6 ormx 179
7 deuterium-orm 171
8 treasure 38
9 Catalytic 22
10 ormlite 15
11 rusqlite-model 0
Find remote jobs at our new job board There are 3 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
Developer Ecosystem Survey 2022
Take part in the Developer Ecosystem Survey 2022 by JetBrains and get a chance to win a Macbook, a Nvidia graphics card, or other prizes. We’ll create an infographic full of stats, and you’ll get personalized results so you can compare yourself with other developers.