sapling/edenscm/mercurial/rust
Arun Kulshreshtha 127ca1a990 edenapi: use rustls instead of openssl
Summary:
Switch from using OpenSSL (via `native-tls`) to [Rustls](https://github.com/ctz/rustls), a pure-Rust TLS implementation based on the `ring` crypto crate.

Unlike `native-tls`, Rustls supports ALPN, which means it can be used along with Hyper to perform HTTP/2 requests over TLS. (OpenSSL also supports ALPN, but older versions of Windows' `schannel` library do not, and as such `native-tls` doesn't support ALPN either regardless of platform.)

Rustls also builds on Windows without any special configuration, sidestepping the issues we've been having with OpenSSL in the Windows build.

Reviewed By: quark-zju

Differential Revision: D14070084

fbshipit-source-id: 25268c58a88177f4708370696d326b4c0bdc89a0
2019-02-13 16:07:00 -08:00
..
bindings bindings: add init module 2019-02-13 16:07:00 -08:00
pyedenapi edenapi: use rustls instead of openssl 2019-02-13 16:07:00 -08:00
threading codemod: move Python packages to edenscm 2019-01-28 18:35:41 -08:00
__init__.py codemod: move Python packages to edenscm 2019-01-28 18:35:41 -08:00