Tls-listener crate

I recently revisited a crate I worked on a while ago to make it easier to use TLS with a hyper server: GitHub - tmccombs/tls-listener: Rust wrapper around a connection listener to support TLS..

I rewrote it to be compatible with tokio 1.0 and hyper 0.14 (and switched to using rustls).

I'd love some feedback on it.

1 Like

It looks reasonable to me. We do sometimes have questions on how to do this on the Tokio discord, so I'll keep a link around.

One feature you might want would be a timeout on the futures in that FuturesUnordered so I can't just open a connection and do nothing to DoS the server.

Additionally the github page could use a link to the crate's entries on crates.io and docs.rs.