A safe, extensible ORM and Query Builder for Rust
Diesel is quite nice for SQL imo, but some don't like it. I'd recommend at least giving it a try.
🧰 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)
Can't mention Diesel without someone throwing out SQLx, the other major competitor for using SQL from Rust.
Updating dependencies is time-consuming.. Solutions like Dependabot or Renovate update but don't merge dependencies. You need to do it manually while it could be fully automated! Add a Merge Queue to your workflow and stop caring about PR management & merging. Try Mergify for free.
A user crud written in Rust, designed to connect to a MySQL database with full integration test coverage.
If you want an idea of what you'd be getting into, take a look at this example CRUD I wrote w/ actix-web, sqlx, and serde: actix sqlx usercrud
Code for "Zero To Production In Rust", a book on API development using Rust.
If you'd like a book to give you an introduction to the basics of everything (maybe not OpenAPI, but I'm unsure) you're asking for, I highly recommend zero2pord. It's unfinished, but I think it's got plenty to get you up to speed in its current form. You can also find all of the finished chapters on the authors blog.
Why use Rust on the back end?
6 projects | news.ycombinator.com | 20 Mar 2023
What's new in SeaQuery 0.27.0
2 projects | dev.to | 9 Nov 2022
Initial release of diesel-async
8 projects | /r/rust | 27 Sep 2022
What has been your experience creating a web app with Rust vs other languages
6 projects | /r/rust | 16 Jan 2021
👻Top 8 Free, Open Source SQL Clients🔥
8 projects | dev.to | 4 Sep 2023