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

pub fn output_metadata(
    ws: &Workspace,
    opt: &OutputMetadataOptions
) -> 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.