routerify
routerify copied to clipboard
Add support for Routerify to serve HTTPS requests
Closes #103
This PR has an (unfortunately) unfinished re-implementation of hyper-rustls' server example. I have added additional optional dependencies that would allow for users to select whether to use openssl (plus native binds) or rustls for their SSL implementation.
At the moment, there's a few compiler errors regarding tokio::net::TcpListener not being found (even though tokio's features include "full"), as well as issues with RouterService<B, E> not having an impl hyper::service::make::MakeServiceRef (even though the hyper docs state that basically no-one should directly implement that trait).
I will take another look at this soon, but for now, using nginx would probably suffice...
Any progress on this? I tried to implement it myself before finding your issue, but I don't think my rust skills are quite good enough yet.