commit | 07cbccdb4f89c8cea98e22273c8550436ef7dc04 | [log] [tgz] |
---|---|---|
author | Erick Tryzelaar <etryzelaar@google.com> | Mon Jan 28 08:59:27 2019 -0800 |
committer | Erick Tryzelaar <etryzelaar@google.com> | Tue Feb 05 12:58:15 2019 -0800 |
tree | df9130710dc4859347600254ed21e23d9baa32b2 | |
parent | 1f9d981d9bd1b044014b65fad011531df8712ecf [diff] |
[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
After modifying Cargo.toml
, Run fx update-rustc-third-party
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.
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