[rust] Add rust-tuf dependencies

This is necessary to support building rust-tuf with GN, implemented
in https://fuchsia-review.googlesource.com/c/garnet/+/239484. The
dependencies are:

* data-encoding 2.1.2
* derp 0.0.11
* ring 0.13.5
* untrusted 0.6.2

This was approved by OSRB-109.

OSRB-109 #comment import the crates
PKG-404 #comment add rust-tuf dependencies

Change-Id: I4fd4b972d0e1ef6ce2eb5a227442f37af39d316b
389 files changed
tree: ea0b8be8cf91d3d447fad7518fc81087d47af874
  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