Function cargo::ops::output_metadata [] [src]

pub fn output_metadata(opt: OutputMetadataOptions, config: &Config) -> CargoResult<ExportInfo>

Loads the manifest, resolves the dependencies of the project to the concrete used versions - considering overrides - and writes all dependencies in a JSON format to stdout.