Need help to connecting openssl to hyper server

Hi
I would like to run an https server by using hyper but it's not clear.
I could found an example that uses tokio_tls for this propose.
https://github.com/tokio-rs/tokio-tls/blob/master/examples/hyper-server.rs but with it can not work with tokio_openssl because tokio_openssl does not provide proto struct.
can anyone help me to understand how I can do it?
thanks.

With the latest hyper 0.12.1, use crate hyper-tls 0.2.0.

The dependency graph is a bit weird at present. For some details see the context of this:

1 Like

Perhaps explore actix-web as well to see which you like better. They have some SSL docs here

1 Like