programatik29 / tokio-rusqlite

Asynchronous handle for rusqlite library.
MIT License
89 stars 21 forks source link

Implement `tokio_rusqlite::Connection: From<rusqlite::Connection>` #33

Closed oscartbeaumont closed 2 months ago

oscartbeaumont commented 4 months ago

Allow converting an existing rusqlite::Connection into a tokio_rusqlite::Connection.

Why?

I'm using Refinery which doesn't support tokio_rusqlite but it does support rusqlite. So I would like to: