4 ms·
I've never touched Rust or Diesel... but what is the point of a synchronous library that makes blocking calls _and returns futures_? (I mean - why futures, if
by anentropic 9y ago
I've never touched Rust or Diesel... but what is the point of a synchronous library that makes blocking calls _and returns futures_?
(I mean - why futures, if the call was blocking and presumably have a real result to return?)
- rejschaap 9y agoWild guess here, but it might make it compatible with frameworks or middleware that expects futures.
- Sean1708 9y agoDiesel doesn't return futures, the author of the blog post returned a future and the person that you commented on is pointing out that that's pointless because Diesel is synchronous.