Closed akru closed 3 years ago
It might be better if neither is default and the choice is left to the API user. I've seen that actix-web and some other crates do this.
It might be better if neither is default and the choice is left to the API user.
Agreed, would prefer to keep both options open
What’s about disabling TLS by default and making TLS implementation optionable?
Yeah, I think that's what I was imagining. Might be worth seeing how others do it like @sameer mentioned
Motivation
hyper-tls
depends of native OpenSSL library that could be uncomfortable in some cases. In this PR I was addedhyper-rustls
feature that use Rust native implementation for TLS connections.