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.
this post was submitted on 29 Aug 2022
5 points (85.7% liked)
Rust Programming
8438 readers
38 users here now
founded 5 years ago
MODERATORS