async-bb8-diesel
Safe asynchronous access to Diesel and the bb8 connection manager (by oxidecomputer)
Our great sponsors
rust-foundation-community-grant | async-bb8-diesel | |
---|---|---|
7 | 2 | |
20 | 11 | |
- | - | |
0.0 | 5.5 | |
over 1 year ago | 5 days ago | |
Rust | Rust | |
- | 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.
rust-foundation-community-grant
Posts with mentions or reviews of rust-foundation-community-grant.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-04-26.
-
When do Rust's traits make your life difficult?
That's a topic where already some work exists. You might want to checkout my collection of bad error messages from such trait heavy crates for example. It's important to notice that most of these errors look complicated, but mostly have a quite simple cause. In some of these cases it's even possible to reword these error messages by removing most of the complicated looking type stuff to something much simpler which then is easier to understand.
-
dfdx v0.10.0 - deep learning now with even more const generic goodness
As with everything in static type checking, the upfront costs seem high (deciphering type errors can be a bit daunting for both diesel, and to a certain extent dfdx), but I feel like (1) this will get better (especially with the work /u/weiznich is doing), and (2) history has shown the upfront costs are worth it (as evidenced by the takeover of typescript and typed Python).
-
Diesel 2.0.0 RC1
This change is hopefully only the starting point to a number of future improvements. I've got a project grant as part of the rust foundation community grant program to work on improving the error messages for trait heavy crates like diesel. Hopefully this will result in other improvements as well. I track this work here. If you hit bad error messages with diesel or any other trait heavy crate, please fill an issue there.
-
Survey of bad error messages emitted by the "misuse" of trait heavy crates
axum does basically ]the trick as bevy](https://docs.rs/axum/latest/axum/handler/trait.Handler.html#impl-Handler%3C(T1%2C)%2C%20B%3E) to emulate variadics and someone already filed this https://github.com/weiznich/rust-foundation-community-grant/issues/2
async-bb8-diesel
Posts with mentions or reviews of async-bb8-diesel.
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
a.rs = https://github.com/oxidecomputer/async-bb8-diesel/blob/master/src/connection_manager.rs
-
Diesel 2.0.0 RC1
An issue I see is that diesel is already quite usable in async contexts using spawn_blocking or block_in_place (that's what tokio-diesel and async-bb8-diesel does), it's just somewhat inefficient. How much money is worth the extra efficiency of diesel-async?
What are some alternatives?
When comparing rust-foundation-community-grant and async-bb8-diesel you can also consider the following projects:
metrics
bb8 - Full-featured async (tokio-based) postgres connection pool (like r2d2)
uom - Units of measurement -- type-safe zero-cost dimensional analysis
rust-mysql-simple - Mysql client library implemented in rust.
diesel - A safe, extensible ORM and Query Builder for Rust
tokio-diesel - Integrate Diesel into Tokio cleanly and efficiently.
diesel_async - Diesel async connection implementation
rust-typed-builder - Compile-time type-checked builder derive
aquascope - Interactive visualizations of Rust at compile-time and run-time
rust-foundation-community-grant vs metrics
async-bb8-diesel vs bb8
rust-foundation-community-grant vs uom
async-bb8-diesel vs rust-mysql-simple
rust-foundation-community-grant vs diesel
async-bb8-diesel vs tokio-diesel
rust-foundation-community-grant vs tokio-diesel
async-bb8-diesel vs diesel_async
rust-foundation-community-grant vs rust-typed-builder
async-bb8-diesel vs metrics
rust-foundation-community-grant vs aquascope
async-bb8-diesel vs diesel