Closed
Description
Rustls is a pure-Rust TLS library. Just like today we support either curl or hyper + nativetls, add optional runtime support for hyper + rustls. The openssl dep is one of the most troublesome pieces of native code in Rust. It'll be nice to get rid of it.
This will require adding the dependency to rustup_utils
, then modifying rustup_utils::raw::download_file
to use hyper + rustls when RUSTUP_USE_RUSTLS
environment variable is set. Follow the example of RUSTUP_USE_HYPER
.