ormlite
An ORM in Rust for developers that love SQL. (by kurtbuilds)
pq-sys
Auto-generated rust bindings for libpq (by sgrif)
ormlite | pq-sys | |
---|---|---|
5 | 1 | |
212 | 40 | |
- | - | |
7.9 | 7.4 | |
about 2 months ago | 13 days 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.
ormlite
Posts with mentions or reviews of ormlite.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-25.
-
How to parse the AST of an entire crate?
The macros in my orm library ormlite do this. You might look there for inspiration.
-
Ormlite: An ORM in Rust for developers that love SQL
Check out the quickstart on Github to get started using it!
-
Reviews of the Diesel ORM, are there better alternatives?
It’s extremely young, but I created Ormlite (https://github.com/kurtbuilds/ormlite) because I wanted a lightweight ORM that doesn’t involve learning a custom DSL. Like seaorm, it builds on sqlx and is fully async.
-
I made a SSO as my first project in Rust
(Shameless Plug) It's in-development, but I'm working on an orm library called ormlite built on top of sqlx which offers query builder syntax, builder syntax for update & insert, async, while staying as close to possible to sql syntax (that is, avoid library "magic").
pq-sys
Posts with mentions or reviews of pq-sys.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-05-15.
-
Reviews of the Diesel ORM, are there better alternatives?
I can understand that this can be frustrating and I know that the situation there is not ideal for diesel. There are certainly things to improve there by either providing a bundling support which builds the native library as part of the normal build process or by implementing a pure rust connection implementation. Both is possible with diesel, but requires some work. At least the pure rust connection implementation is something that can be provided by a third party crate now with upcoming diesel 2.0 release. If you are interested in that checkout this and this issue. As for the bundling support: This requires changes in the mysqlclient-sys and pq-sys crates. Again help there is welcome. In the end it makes me sad that some people have repeating decided that a solution to this problem is to write just another crate instead of helping to fix these issues. This just results in everyone have more work to do, as there are now two non-perfect solutions instead of having one slightly improved solution.
What are some alternatives?
When comparing ormlite and pq-sys you can also consider the following projects:
prisma-client-rust - Type-safe database access for Rust
bb8 - Full-featured async (tokio-based) postgres connection pool (like r2d2)
sea-orm - 🐚 An async & dynamic ORM for Rust
rbatis - Rust Compile Time ORM robustness,async, pure Rust Dynamic SQL
diesel_async - Diesel async connection implementation
rauth - A simple SSO implementation in Rust
diesel - A safe, extensible ORM and Query Builder for Rust
cornucopia - Generate type-checked Rust from your PostgreSQL.