[rust] Regenerate Cargo.lock to fix building fuchsia

It appears doing a `rm Cargo.lock` and then rebuilding it
with cargo.vendor generates a file in a different format
than what the rest of fuchsia expects. It generates
a `[root]` fuchsia-third-party block, instead of a
`[[packages]]` fuchsia-third-party-block. I'm not sure what
is causing this upstream yet, but this fixes the problem
by running `cargo build` in rust-crates, which corrects the
file.

Change-Id: I65c3808f45fee1b1c06a52181df6cad3154f8224
1 file changed
tree: 34400bf9cfd9cd4eb82a639fdf3f28e6608b3bfd
  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