[rustls] Import rustls and its dependencies

This imports rustls 0.14.0, along with sct 0.4.0 and webpki 0.18.1 for
TLS support in rust.

This has been approved in OSRB-123.

OSRB-123 #comment landed crates

Change-Id: I11b69671d03d9b5db4e25d6c255257843d86fc3d
312 files changed
tree: 3fce1f64e813c6edff23e598179d1764b8fccc3d
  1. AUTHORS
  2. CONTRIBUTING.md
  3. LICENSE
  4. README.md
  5. rustc_deps/
README.md

Fuchsia Rust package (crates.io) mirror Repository

Quickstart

After modifying Cargo.toml, Run fx update-rustc-third-party

macOS

You will need a modern OpenSSL and to export either PKG_CONFIG_PATH or CFLAGS and LDFLAGS in order for cargo to find it, before running fx update-rustc-third-party.

You can install using brew install openssl and observe brew info openssl for the above exports. It is recommended you only export these as-needed, not permanently, to avoid causing incompatibilities with other software.

Description

This repository contains vendored copies of third party code used in Fuchsia.

Further documentation is available here:

https://fuchsia.googlesource.com/docs/+/master/development/languages/rust/third_party.md