fn cargo_metadata(root: &Path) -> Result<CargoMetadata>
Runs cargo metadata and returns the parsed result.
cargo metadata