-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
Description
With futures-rs and tokio the Rust ecosystem recently got a whole new chapter in the async IO story. It would be pretty great for diesel to work with this as well.
From an enduser standpoint, a straightforward API change would be to 'just' use an Async PgConnection
instead of the regular PgConnection
(DB specific for more efficient implementations?). All traits generic over Connection
(e.g. LoadDsl
) would get an associated type to determine if they are returning e.g. a QueryResult<T>
or a Future<T>
.
chpio, mfpiccolo, fluxxu, vaags, hban and 107 more