Need help to connecting openssl to hyper server


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. 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?


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:


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