Cool release. I really liked Diesel but am using async in my app. I started off wrapping everything in a block_on which worked fine but the ergonomics sucked when you need to interleave async and block_on sections. I ended up switching to sqlx and it is pretty good, at least I still get the compile-time validation. However if Diesel found a way to provide an async API I would probably switch back.
Cool release. I really liked Diesel but am using async in my app. I started off wrapping everything in a block_on which worked fine but the ergonomics sucked when you need to interleave async and block_on sections. I ended up switching to sqlx and it is pretty good, at least I still get the compile-time validation. However if Diesel found a way to provide an async API I would probably switch back.
there is diesel-async but i have never used it: https://github.com/weiznich/diesel_async