quaint
SQL Query AST and Visitor for Rust (by prisma)
barrel
🛢 A database schema migration builder for Rust (by rust-db)
Our great sponsors
quaint | barrel | |
---|---|---|
4 | 1 | |
586 | 444 | |
- | - | |
6.9 | 1.2 | |
12 months ago | almost 3 years ago | |
Rust | Rust | |
Apache License 2.0 | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
quaint
Posts with mentions or reviews of quaint.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-12-08.
-
Postgres over WebSocket
That is only used in tests :) The query engine uses this: https://github.com/prisma/quaint/blob/6532d69b5aec007ad06ac6...
(I work at Prisma, could have mentioned that earlier)
-
Maintenance of popular ORMs (explanation inside)
Just a quick note about this point: We do use the standard Rust drivers for the DBs we support (e.g. tokio-postgres or the official MongoDB driver for Rust) and don't write/maintain our own drivers, you can see this from our Cargo.toml.
-
MSSQL and Rust
I'm using https://github.com/prisma/quaint/ with mssql. As far as I understand, it wasn't released to crates.io for two year only because of some dependencies issues with postgres (https://github.com/prisma/quaint/issues/264)
- Is there any alternative to Diesel that supports switching between DBMS?
barrel
Posts with mentions or reviews of barrel.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-02-05.
-
Is there any alternative to Diesel that supports switching between DBMS?
I don't know about alternatives, but I think the SQL in the Diesel Getting Started is just migrations. If you want to write those in Rust, Diesel has support for Barrel (setup guide). Not production-ready though.
What are some alternatives?
When comparing quaint and barrel you can also consider the following projects:
diesel - A safe, extensible ORM and Query Builder for Rust
databend - 𝗗𝗮𝘁𝗮, 𝗔𝗻𝗮𝗹𝘆𝘁𝗶𝗰𝘀 & 𝗔𝗜. Modern alternative to Snowflake. Cost-effective and simple for massive-scale analytics. https://databend.com
awesome-rust - A curated list of Rust code and resources.
toydb - Distributed SQL database in Rust, written as a learning project
rustorm - an orm for rust
rsfbclient - Rust Firebird Client
shorty - High-performance link shortener
rusqlite - Ergonomic bindings to SQLite for Rust
materialize - The data warehouse for operational workloads.
sea-orm - 🐚 An async & dynamic ORM for Rust