barrel
🛢 A database schema migration builder for Rust (by rust-db)
quaint
SQL Query AST and Visitor for Rust (by prisma)
barrel | quaint | |
---|---|---|
1 | 4 | |
444 | 586 | |
- | - | |
1.2 | 6.9 | |
almost 3 years ago | about 1 year ago | |
Rust | Rust | |
MIT License | Apache License 2.0 |
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.
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.
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?
What are some alternatives?
When comparing barrel and quaint you can also consider the following projects:
databend - 𝗗𝗮𝘁𝗮, 𝗔𝗻𝗮𝗹𝘆𝘁𝗶𝗰𝘀 & 𝗔𝗜. Modern alternative to Snowflake. Cost-effective and simple for massive-scale analytics. https://databend.com
diesel - A safe, extensible ORM and Query Builder for Rust
toydb - Distributed SQL database in Rust, written as a learning project
awesome-rust - A curated list of Rust code and resources.
rustorm - an orm for rust
shorty - High-performance link shortener
rsfbclient - Rust Firebird Client
materialize - The data warehouse for operational workloads.
rusqlite - Ergonomic bindings to SQLite for Rust
sea-orm - 🐚 An async & dynamic ORM for Rust