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
The type tokio_tungstenite::MaybeTlsStream looks very useful. Any interest in moving it to a separate crate?
I'm currently trying to add optional TLS support for an IMAP library and need exactly that, an enum that implements AsyncRead and AsyncWrite. But I don't want to manage dependency updates of rustls and native-tls myself. If I could simply point the users of my library to a separate crate it would be very helpful.
Yeah, IIRC we were asked about this a couple of times within the past years.
I wonder if there is already a similar, more generic alternative. I did not have plans to create a new crate just for MaybeTlsStream, but if someone makes such a crate, we'd be happy to switch to it to spare some boilerplate code. I did not check how other similar crates manage this kind of thing.
The type
tokio_tungstenite::MaybeTlsStream
looks very useful. Any interest in moving it to a separate crate?I'm currently trying to add optional TLS support for an IMAP library and need exactly that, an enum that implements
AsyncRead
andAsyncWrite
. But I don't want to manage dependency updates of rustls and native-tls myself. If I could simply point the users of my library to a separate crate it would be very helpful.Maybe related to #285
The text was updated successfully, but these errors were encountered: