quaint
SQL Query AST and Visitor for Rust (by prisma)
diesel-oci
A backend implementation for diesel (https://github.com/diesel-rs/diesel) for oracle sql database. (by GiGainfosystems)
Our great sponsors
quaint | diesel-oci | |
---|---|---|
4 | 2 | |
586 | 16 | |
- | - | |
6.9 | 5.8 | |
12 months ago | 3 months ago | |
Rust | Rust | |
Apache License 2.0 | 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.
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?
diesel-oci
Posts with mentions or reviews of diesel-oci.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-26.
-
Diesel 2.1
I've now update one of the custom connection implementations my company maintains: https://github.com/GiGainfosystems/diesel-oci/pull/49 That should give you an impression what needs to be done there. Feel free to reach out if you have questions.
-
MSSQL and Rust
That all written: Diesel is structured in such a way that you can implement support for another database as third party crate. There are already crates for oracle support and firebird support out there. Writing a similar crate to add support for MSSQL is definitively possible.
What are some alternatives?
When comparing quaint and diesel-oci you can also consider the following projects:
diesel - A safe, extensible ORM and Query Builder for Rust
rsfbclient - Rust Firebird Client
awesome-rust - A curated list of Rust code and resources.
tusker - PostgreSQL migration management tool
rustorm - an orm for rust
postgres_migrator - A postgres migration generator and runner that uses raw declarative sql.
crates.io - The Rust package registry
barrel - 🛢 A database schema migration builder for Rust
migra - Like diff but for PostgreSQL schemas
rusqlite - Ergonomic bindings to SQLite for Rust
sea-orm - 🐚 An async & dynamic ORM for Rust