Rust ORM

Open-source Rust projects categorized as ORM

Top 17 Rust ORM Projects

  • diesel

    A safe, extensible ORM and Query Builder for Rust

    Project mention: Backend API recommendations | /r/rust | 2023-05-29

    for psql i feel like there's a wealth of things to choose from, like diesel perhaps https://crates.io/crates/diesel

  • sled

    the champagne of beta embedded databases

    Project mention: RFC: redb (embedded key-value store) nearing version 1.0 | /r/rust | 2023-05-10

    Sled uses bw-tree actually https://github.com/spacejam/sled/wiki/sled-architectural-outlook

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

  • sea-orm

    🐚 An async & dynamic ORM for Rust

    Project mention: Hyper – A fast and correct HTTP implementation for Rust | news.ycombinator.com | 2023-05-12

    Haven't used it myself, but https://github.com/SeaQL/sea-orm seems to be popular in some communities and async

  • rbatis

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

  • ormx

    bringing orm-like features to sqlx

  • rustorm

    an orm for rust

  • zino

    Full-featured application framework for Rust.

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

    Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.

  • deuterium-orm

    Fully typed SQL query builder for Rust [deprecated]

  • ormlite

    An ORM in Rust for developers that love SQL.

    Project mention: How to parse the AST of an entire crate? | /r/rust | 2023-02-27

    The macros in my orm library ormlite do this. You might look there for inspiration.

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

    Project mention: My App 'Beezle Social' Is Live on the App Store. Used: Rust, Swift and AWS | news.ycombinator.com | 2023-02-09

    After years of working, I finally completed Beezle Social, discover local events!

    Beezle Social is an app that is ready to be downloaded on the App Store and possibly soon on the Play store as well! With Beezle, you can explore events happening nearby. Check out the website at https://beezleapp.com/. The app can be downloaded at: https://apps.apple.com/us/app/beezle-social/id1661982809. I completed this on my own.

    Rust is used at the backend. I did choose Rust because of its safety and speed. I took me awhile to get used to the type-system, but after that, I was amazed by the functionality and ecosystem. It is a joy working with macro's, cargo and code quality of other libraries.

    Swift is used at the frontend. Obviously I preferred Swift over Obj-c. I used SwiftUI + UIKit to make the UI. The whole chatting part is done with UIKit because SwiftUI does not support advanced text editing options. I used some hacks in the chatting part to make sure SwiftUI doesn't reload everything all the time when a new message comes in.

    AWS is used at the deploying side. I used ECS and Docker to deploy the server and a lot of other services for media, CDN and mailing system.

    Beezle used libraries I created: https://github.com/Jasperav/Catalytic and https://github.com/Jasperav/GRDB-ORM. Catalytic is an ORM for the scylla-rust-driver and GRDB-ORM an ORM for GRDB.

    I am happy to answer any question! Please download the app, leave a review and ping me if you missing features.

  • toql

    A friendly and productive ORM

  • treasure

    ORM for rust (journey begins) (by phonkee)

  • sqlx-models

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

  • rusqlite-model

    Model trait and derive implementation for rusqlite

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

  • 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/rust | 2023-06-02

    For more information, check out the documentation or the example models from The DynamoDB Book in the GitHub repository, which were implemented to help prove out the concept.

  • 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 2023-06-02.

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 10,501
2 sled 6,977
3 sea-orm 4,287
4 rbatis 1,833
5 ormx 241
6 rustorm 241
7 zino 169
8 deuterium-orm 169
9 ormlite 157
10 anansi 104
11 Catalytic 59
12 toql 51
13 treasure 40
14 sqlx-models 6
15 rusqlite-model 3
16 pg-worm 1
17 modyne 0
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com