Closed mcches closed 5 months ago
I think things should work out of the box with connect_raw: https://docs.rs/tokio-postgres/latest/tokio_postgres/config/struct.Config.html#method.connect_raw
Ah, I missed that option. Looks like exactly what I need. Thanks!
I'm one of the author's from turmoil and I was wondering how you'd feel about supporting a
turmoil::net::TcpStream
socket variant (under a feature flag of course). I was able to get this working with minimal changes totokio-postgres
thanks to how theSocket
type is structured.