bb8
Full-featured async (tokio-based) postgres connection pool (like r2d2) (by djc)
pq-sys
Auto-generated rust bindings for libpq (by sgrif)
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.
bb8
Posts with mentions or reviews of bb8.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-09-24.
- How to import a struct that impls a trait into a type that requires that impl
-
Reviews of the Diesel ORM, are there better alternatives?
The current bb8 implementation (0.7 and 0.8) seam to sport a rather serious bug that can lead to deadlocks under load: https://github.com/djc/bb8/issues/122
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 bb8 and pq-sys you can also consider the following projects:
rust-postgres - Native PostgreSQL driver for the Rust programming language
ormlite - An ORM in Rust for developers that love SQL.
diesel_async - Diesel async connection implementation
rbatis - Rust Compile Time ORM robustness,async, pure Rust Dynamic SQL
async-bb8-diesel - Safe asynchronous access to Diesel and the bb8 connection manager
diesel - A safe, extensible ORM and Query Builder for Rust
rust-mysql-simple - Mysql client library implemented in rust.
cornucopia - Generate type-checked Rust from your PostgreSQL.
prisma-client-rust - Type-safe database access for Rust