Closed oscartbeaumont closed 2 months ago
Allow converting an existing rusqlite::Connection into a tokio_rusqlite::Connection.
rusqlite::Connection
tokio_rusqlite::Connection
I'm using Refinery which doesn't support tokio_rusqlite but it does support rusqlite. So I would like to:
tokio_rusqlite
rusqlite
tokio_rusqlite::Connection::from(...)
Allow converting an existing
rusqlite::Connection
into atokio_rusqlite::Connection
.Why?
I'm using Refinery which doesn't support
tokio_rusqlite
but it does supportrusqlite
. So I would like to:rusqlite::Connection
tokio_rusqlite::Connection::from(...)
to convert the connection to be async for the rest of my apps lifetime.