Function cargo::ops::cargo_output_metadata::output_metadata
source · pub fn output_metadata(
ws: &Workspace<'_>,
opt: &OutputMetadataOptions
) -> CargoResult<ExportInfo>
Expand description
Loads the manifest, resolves the dependencies of the package to the concrete used versions - considering overrides - and writes all dependencies in a JSON format to stdout.