You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the suggestion @BFrog we'll look into that. We did look closely into Tokio and the main reason for us to pick async-std was that the Sockets have inner mutability. In Tokio there is a split to separate reader and writer half, but the way in which lifetimes work makes it hard to use w/o adding a mutex...
SQLx managed to avoid locking themselves to tokio/async-std/smol or whatever seemingly by creating a small feature flag driven crate of about 200 loc.
It would be nice to avoid locking this directly to async-std, even if there is a compatibility layer.
https://github.com/launchbadge/sqlx/blob/master/sqlx-rt/src/lib.rs
The text was updated successfully, but these errors were encountered: