Rust MySQL

Open-source Rust projects categorized as MySQL

Top 18 Rust MySQL Projects

  • cube.js

    📊 Cube — The Semantic Layer for Building Data Applications

    Project mention: Is dimensional modelling dead ? | reddit.com/r/dataengineering | 2022-11-20

    This isn't at all a solved problem, and we as an industry are still struggling with the tradeoffs. Handling semantics at the BI layer provides immense flexibility and rapid iteration, but provides little governance and multiple versions of the truth. Consolidating semantics further upstream (dbt's semantic layer, cube.dev) allows for that fabled "single source of truth," but it also means slower development and a loss of business agility.

  • diesel

    A safe, extensible ORM and Query Builder for Rust

    Project mention: Ormlite: An ORM in Rust for developers that love SQL | reddit.com/r/rust | 2023-01-25

    Congratulations to the release. I know all of this is hard work. I would like to invite you to submit a ormlite implementation to the diesel benchmark collection. As soon as that's merged you will get regular reports here. The relevant code is here in the diesel repository.

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

  • sqlx

    🧰 The Rust SQL Toolkit. An async, pure Rust SQL crate featuring compile-time checked queries without a DSL. Supports PostgreSQL, MySQL, SQLite, and MSSQL. (by launchbadge)

    Project mention: Custom postgres types with sqlx | reddit.com/r/rust | 2023-01-26

    Hello everyone, I would be grateful if you could take a look at this question about using custom types created in postgress with sqlx. Maybe someone could point out what I'm missing to make it work.

  • sea-orm

    🐚 An async & dynamic ORM for Rust

    Project mention: Using tokio with async-std in the same project | reddit.com/r/learnrust | 2023-01-25

    I am looking into an example which uses axum/tokio together with a library having async-std runtime feature enabled. I thought there was a mistake and the library should use tokio-runtime instead but the example works perfectly.

  • readyset

    ReadySet is a lightweight SQL caching engine written in Rust that helps developers enhance the performance and scalability of existing applications.

    Project mention: Materialized View: SQL Queries on Steroids | news.ycombinator.com | 2022-12-31
  • rbatis

    Rust Compile Time ORM and SQL Toolkit. async, pure Rust compile-time Dynamic SQL

    Project mention: Reviews of the Diesel ORM, are there better alternatives? | reddit.com/r/rust | 2022-05-15

    try https://github.com/rbatis/rbatis

  • sea-query

    🔱 A dynamic SQL query builder for MySQL, Postgres and SQLite

    Project mention: What's new in SeaQuery 0.28.0 | dev.to | 2023-01-03

    [#508] Representing a identifier with &'static str. The IdenStatic trait looks like this:

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.

  • rust-mysql-simple

    Mysql client library implemented in rust.

    Project mention: Diesel 2.0.0 RC1 | reddit.com/r/rust | 2022-07-22

    We use libmysqlclient mostly for historic reasons. The mysql crate did just not exist back then when diesel started and rewriting all the internal code now is just something that we did not have the time nor motivation for. That written: Diesel is designed in such a way that connections can be provided by third party crates, even for existing backends. Diesel 2.0 adds explicit documentation for this as part of the connection trait and we are definitively interested to see pure rust implementations for the postges and mysql backend there. Also there is this discussion in the rust-mysql crate repository about a potential diesel integration. If someone is interested in working on this (or the equivalent implementation for postgresql), please reach out to us. We definitively can provide some pointers where to look for stuff and how to generally approach such an implementation. It's likely nothing that's really hard, it just requires someone to spend some work on it.

  • mysql_async

    Asyncronous Rust Mysql driver based on Tokio.

  • ormx

    bringing orm-like features to sqlx

    Project mention: Actix Web v4.0 (Rust) | news.ycombinator.com | 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: https://github.com/NyxCode/ormx

  • mysql-proxy-rs

    A highly scalable MySQL Proxy framework written in Rust

  • seaography

    🧭 GraphQL framework for SeaORM

    Project mention: Getting Started with Seaography | dev.to | 2022-10-05

    MySQL

  • sea-schema

    🌿 SQL schema management suite

    Project mention: Celebrating 3,000+ GitHub Stars 🎉 | dev.to | 2022-08-29

    SeaQL.org was founded back in 2020. We devoted ourselves into developing open source libraries that help Rust developers to build data intensive applications. In the past two years, we published and maintained four open source libraries: SeaQuery, SeaSchema, SeaORM and StarfishQL. Each library is designed to fill a niche in the Rust ecosystem, and they are made to play well with other Rust libraries.

  • doteur

    Tool to automate the visualisation of SQL schemas from a SQL file

    Project mention: Generate diagrams programmatically with D2 | reddit.com/r/programming | 2023-01-14

    If you are interested it's https://github.com/nag763/doteur with a live demo here https://nag763.github.io/doteur/live/

  • actix_sqlx_mysql_user_crud

    A user crud written in Rust, designed to connect to a MySQL database with full integration test coverage.

    Project mention: Enterprise dev's first attempt at mockall. Code review please. | reddit.com/r/rust | 2022-09-23

    Lastly, I wrote a CRUD a while ago that's on the Actix Web examples, which is a simple CRUD that has full test coverage. I didn't do any mocking, but you can take a look at the code and see if any of the TDD patterns I used are helpful.

  • sqlx-adapter

    Asynchronous casbin adapter for mysql, postgres, sqlite based on sqlx-rs

  • sql-udf

    A wrapper for writing MariaDB/MySQL user defined functions in Rust

    Project mention: Is it possible to get fast Rust compiles in a Docker container? | reddit.com/r/rust | 2022-12-28

    I see you answered a good part of your question, but I might have the dockerfile you want if size/cache is still a concern: https://github.com/pluots/sql-udf/blob/273eaed142f222b75f72d28911613ff5c0740365/Dockerfile.examples

  • typed-qb

    A query builder that builds and typechecks queries at compile time

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

Rust MySQL related posts

Index

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

Project Stars
1 cube.js 14,441
2 diesel 9,831
3 sqlx 7,714
4 sea-orm 3,556
5 readyset 1,804
6 rbatis 1,679
7 sea-query 670
8 rust-mysql-simple 550
9 mysql_async 295
10 ormx 220
11 mysql-proxy-rs 175
12 seaography 136
13 sea-schema 100
14 doteur 92
15 actix_sqlx_mysql_user_crud 82
16 sqlx-adapter 30
17 sql-udf 4
18 typed-qb 3
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com