[rand] Bump rand to 0.3.23, 0.4.6, 0.5.6, 0.6.5

This updates all the various versions of the rand crate in order
to migrate away from their use of fuchsia-zircon over to the new
fuchsia-cprng.

Along the way, this makes the following additional changes:

* wires up fuchsia-cprng to point at the one in garnet
* removes fuchsia-zircon and fuchsia-async-macro (yay!)
* updates autocfg from 0.1.1 to 0.1.2
* updates libc from 0.2.46 to 0.2.48
* removes rand_core 0.2.2
* updates rand_core 0.3.0 to 0.3.1
* adds rand_core 0.4.0
* adds rand_jitter 0.1.2
* updates rand_os 0.1.0 to 0.1.2
* adds rdrand 0.4.0

These new crates have been approved in OSRB-133.

Change-Id: I35c0e622b72c6c0d0c516db8cf80c3388c397986
205 files changed
tree: df9130710dc4859347600254ed21e23d9baa32b2
  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