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. Learn more →
Top 23 Rust MySQL Projects
-
also check out cube.dev. they can do the semantic layer and cache it so you are not hitting Snowflake all the time.
-
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)
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.
-
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
-
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!
-
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-21This 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.
-
-
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.
-
Project mention: What would I need to use in order to interface with a database? | /r/rust | 2023-06-09
-
-
-
-
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.
-
-
-
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.
-
If you are interested it's https://github.com/nag763/doteur with a live demo here https://nag763.github.io/doteur/live/
-
-
-
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.
-
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
Rust MySQL related posts
- Periodic tasks
- Fine-grained caching strategies of dynamic queries
- Crate that can help me with background jobs in a server?
- SQLX MSSQL Connection String Problem
- SQLx 0.7 released! Offline mode usability improvements, performance fixes and major upgrades across the board!
- MariaDB / SQLx - "Unknown Authentication Plugin"
- What would I need to use in order to interface with a database?
-
A note from our sponsor - InfluxDB
www.influxdata.com | 9 Dec 2023
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 |