Re:In Defense of Async: Function Colors Are Rusty
by weiznich on Thursday January 06, 2022 @02:05AM
(#29820331)
At least for diesel that's not true anymore. I've build a async connection implementation that will published alongside the next major release.
See https://github.com/weiznich/diesel_async for details
In Rust, this is not the case and leads to fragmentation.
There are a lot of high-quality libraries which cannot be efficiently used in an async context (e.g. Diesel). And since Rust isn't shipped with a default runtime (tokio, async-std, ...), some crates are incompatible with the rest of your program. I understand the reasoning (there is no "one size fits all") but it makes things more complicated.