Rust ORM

Open-source Rust projects categorized as ORM

Top 22 Rust ORM Projects

  • diesel

    A safe, extensible ORM and Query Builder for Rust

    Project mention: Top 10 Rusty Repositories for you to start your Open Source Journey | dev.to | 2023-12-19

    7. Diesel

  • sled

    the champagne of beta embedded databases

    Project mention: Is Something Bugging You? | news.ycombinator.com | 2024-02-13

    - Dropbox [3] uses a similar approach but they talk about it a bit more abstractly.

    Sans-IO is more documented in Python [4], but str0m [5] and quinn-proto [6] are the best examples in Rust I’m aware of. Note that sans-IO is orthogonal to deterministic test frameworks, but it composes well with them.

    With the disclaimer that my opinions are mine and mine alone, and don’t reflect the company I work at —— I do work at a rust shop that has utilized these techniques on some projects.

    TigerBeetle is an amazing example and I’ve looked at it before! They are really the best example of this approach outside of FoundationDB I think.

    [0]: https://risingwave.com/blog/deterministic-simulation-a-new-e...

    [1]: https://risingwave.com/blog/applying-deterministic-simulatio...

    [2]: https://dropbox.tech/infrastructure/-testing-our-new-sync-en...

    [3]: https://github.com/spacejam/sled

    [4]: https://fractalideas.com/blog/sans-io-when-rubber-meets-road...

    [5]: https://github.com/algesten/str0m

    [6]: https://docs.rs/quinn-proto/0.10.6/quinn_proto/struct.Connec...

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • sea-orm

    🐚 An async & dynamic ORM for Rust

    Project mention: Rust GraphQL APIs for NodeJS Developers: Introduction | dev.to | 2024-02-08

    SQL with SeaORM:

  • rbatis

    Rust Compile Time ORM robustness,async, pure Rust Dynamic SQL

  • zino

    Next-generation framework for composable applications in Rust.

    Project mention: Zino: a full-featured web application framework for Rust with a focus on productivity and performance. | /r/rust | 2023-04-16
  • teo

    Schema-centered next-generation web framework for Rust, Node.js and Python.

    Project mention: Teo is the best Node.js back end framework | news.ycombinator.com | 2024-02-24
  • ormx

    bringing orm-like features to sqlx

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • rustorm

    an orm for rust

  • ormlite

    An ORM in Rust for developers that love SQL.

  • deuterium-orm

    Fully typed SQL query builder for Rust [deprecated]

  • anansi

    A simple full-stack web framework for Rust

    Project mention: Benchmarks for Anansi, a simple full-stack web framework | /r/rust | 2023-04-16

    It's been cool to see the work you're doing! I thought of commenting here re: front-end performance but decided to write it up [in an issue](https://github.com/saru-tora/anansi/issues/23) instead, which I'm linking here in case anyone else reading is curious.

  • 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.

  • charybdis

    Rust ORM for ScyllaDB and Apache Cassandra (by nodecosmos)

    Project mention: Laravel inside Rust? I have a reason for that. | dev.to | 2024-02-26

    Charybdis ORM

  • toql

    A friendly and productive ORM

  • modyne

    An opinionated Rust library for interacting with AWS DynamoDB single-table designs.

    Project mention: Modyne: a DynamoDB ORM-like for single-table design | /r/aws | 2023-06-05

    Indeed, this is one of several examples that I used to help prove out the crate. The four model are examples from The DynamoDB Book. I've also published these models as their own crates so that it's easy for someone to play around with those models and see if modyne would work for them. Here's the documentation for the Big Time Deals example, and here's a link to the code that builds it out on top of modyne.

  • treasure

    ORM for rust (journey begins) (by phonkee)

  • dynarust

    A DynamoDB odm library for rust

    Project mention: Dynarust - no excuse for not using rust in AWS now - a DynamoDB ODM library that uses serde_json for mapping native rust structs to Dynamo items. | /r/rust | 2023-06-26

    As I have been using this stack already for I while, I factored out the [dynarust](https://github.com/gabotechs/dynarust) code and published it as open source, that way hopefully other people could also benefit from it and build serverless backends in Rust.

  • rusqlite-model

    Model trait and derive implementation for rusqlite

  • sqlx-models

    Use rust's SQLx with postgres with none of the boilerplate.

  • siena

    A data provider agnostic ORM.

  • pg-worm

    PostgreSQL's Worst ORM

    Project mention: I just released v0.3.0 of my first crate | /r/rust | 2023-05-21

    I just published the third release on my first crate, pg-worm. It's an async ORM for Postgres aiming to be easy to use and to require as little setup/boilerplate as possible.

  • automerge_orm

    An ORM for Automerge

    Project mention: Automerge-Repo: A "batteries-included" toolkit for local-first applications | news.ycombinator.com | 2023-11-08

    Sorry for the typo. Updated. I get what you mean but maybe I've gotten used to it. We also added a little sibling library to it for partial hydrating and reconciling that fits our patterns better. https://github.com/bowtieworks/automerge_orm

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

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 2024-02-26.

Rust ORM related posts

Index

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

Project Stars
1 diesel 11,718
2 sled 7,666
3 sea-orm 6,045
4 rbatis 2,102
5 zino 563
6 teo 476
7 ormx 271
8 rustorm 248
9 ormlite 203
10 deuterium-orm 168
11 anansi 111
12 Catalytic 86
13 charybdis 73
14 toql 49
15 modyne 43
16 treasure 38
17 dynarust 14
18 rusqlite-model 9
19 sqlx-models 8
20 siena 6
21 pg-worm 3
22 automerge_orm 1
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com