Rust MySQL

Open-source Rust projects categorized as MySQL

Top 23 Rust MySQL Projects

  • cube.js

    📊 Cube — The Semantic Layer for Building Data Applications

    Project mention: Need to reduce costs - which service to use? | /r/dataengineering | 2023-12-05

    also check out cube.dev. they can do the semantic layer and cache it so you are not hitting Snowflake all the time.

  • diesel

    A safe, extensible ORM and Query Builder for Rust

    Project mention: People who use rust and postgres in production along with RDS proxy, what do you do? | /r/rust | 2023-11-15

    Both seem nice. However, both of them rely very heavily on prepared statements. Unfortunately, using prepared statements is a no-go when you use connection poolers like pgbouncer, or in my case AWS RDS proxy. A discussion in Diesel indicates that disel is not going to provide any support for disabling prepared stements (https://github.com/diesel-rs/diesel/discussions/3575), and a discussion on sqlx hints that disabling prepared statements is possible, but I haven't found any documentation or examples for it.

  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

  • 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: Rust as a general application language | /r/rust | 2023-12-09

    What exactly are you missing? I haven't really written "boring corporate backend stuff" in a few years but something like sqlx provides everything I've ever needed there.

  • 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

  • Replibyte

    Seed your development database with real data ⚡️

    Project mention: Ask HN: What's your favorite rust binaries? | news.ycombinator.com | 2023-03-01

    I like rust binaries because they are cross-platform. I've found cool ones like

    - https://github.com/static-web-server/static-web-server/

    - https://github.com/Qovery/Replibyte

    If you know any repos where I may find compilation of tools I'll be thankful!

  • warpgate

    Smart SSH, HTTPS and MySQL bastion that needs no client-side software

    Project mention: SSH With SSO | /r/selfhosted | 2023-07-02

    It's rather for access control with like, 50+ clients. Possibly with access control. I'm currently testing with warpgate

  • readyset

    ReadySet is a transparent database cache for Postgres & MySQL that gives you the performance and scalability of an in-memory key-value store without requiring that you rewrite your app or manually handle cache invalidation. Based on the Noria project from MIT. Built using Rust. 🚀

    Project mention: Fine-grained caching strategies of dynamic queries | news.ycombinator.com | 2023-09-21

    This example is a great use case for partial incremental view maintenance systems like ReadySet: you automatically get something like the “prepopulating the cache” section (toward the end of the blog) while only caching the data the application is using, and avoiding the need to manually implement any sort of invalidation logic.

    (Disclaimer: I used to work for them, but don’t anymore. It’s all available for free on GitHub though for anyone interested: https://github.com/readysettech/readyset)

  • Onboard AI

    Learn any GitHub repo in 59 seconds. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at www.getonboard.dev.

  • rbatis

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

  • sea-query

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

    Project mention: Hey Rustaceans! Got a question? Ask here (8/2023)! | /r/rust | 2023-02-21

    The main limitation of prepared statement is that you can only insert values, so you cannot dynamically construct the query depending on the parameters. For that, you can use a query builder such as sea-query, which should handle that.

  • rust-mysql-simple

    Mysql client library implemented in rust.

    Project mention: What would I need to use in order to interface with a database? | /r/rust | 2023-06-09
  • mysql_async

    Asyncronous Rust Mysql driver based on Tokio.

  • seaography

    🧭 GraphQL framework for SeaORM

  • ormx

    bringing orm-like features to sqlx

  • apalis

    Simple, extensible multithreaded background job and message processing library for Rust

    Project mention: Periodic tasks | /r/rust | 2023-12-04

    This is a full blown framework, but if anyone else stumbles across this question, https://crates.io/crates/apalis has been really useful for me.

  • mysql-proxy-rs

    A highly scalable MySQL Proxy framework written in Rust

  • sea-schema

    🌿 SQL schema definition and discovery

  • sqlx-ts

    node.js compile-time SQL validations & type generations

    Project mention: compile-time SQL validations and type generation in TypeScript & Node | /r/typescript | 2023-08-27
  • actix_sqlx_mysql_user_crud

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

  • doteur

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

    Project mention: Generate diagrams programmatically with D2 | /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/

  • lxp-bridge

    A bridge to MQTT/InfluxDB/Postgres for communications with LuxPower inverters

  • sqlx-adapter

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

  • chaindexing-rs

    An indexing engine that lets you access EVM chain data with SQL

    Project mention: Building language-agnostic specifications: A good reason to start out with Rust? | /r/rust | 2023-12-05

    Recently, I have been building https://github.com/chaindexing/chaindexing-rs , an indexing daemon/engine for accessing blockchain data in EVM blockchains. The main goal is to eventually build an equivalent in popular languages to allow users from different backgrounds access blockchain data trivially.

  • 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? | /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

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

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 16,571
2 diesel 11,270
3 sqlx 10,542
4 sea-orm 5,397
5 Replibyte 3,831
6 warpgate 2,983
7 readyset 2,559
8 rbatis 2,001
9 sea-query 885
10 rust-mysql-simple 617
11 mysql_async 340
12 seaography 273
13 ormx 262
14 apalis 243
15 mysql-proxy-rs 183
16 sea-schema 143
17 sqlx-ts 112
18 actix_sqlx_mysql_user_crud 108
19 doteur 94
20 lxp-bridge 90
21 sqlx-adapter 39
22 chaindexing-rs 15
23 sql-udf 14
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com