pub fn output_metadata(opt: OutputMetadataOptions, config: &Config) -> CargoResult<ExportInfo> {
    if opt.version != VERSION {
        bail!("metadata version {} not supported, only {} is currently supported",
              opt.version, VERSION);
    }
    if opt.no_deps {
        metadata_no_deps(opt, config)
    } else {
        metadata_full(opt, config)
    }
}
/// 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.
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.
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 .
pub fn output_metadata(opt: OutputMetadataOptions, config: &Config) -> CargoResult<ExportInfo> {
    if opt.version != VERSION {
        bail!("metadata version {} not supported, only {} is currently supported",
              opt.version, VERSION);
    }
    if opt.no_deps {
        metadata_no_deps(opt, config)
    } else {
        metadata_full(opt, config)
    }
}
pub fn output_metadata ( opt : OutputMetadataOptions , config : & Config ) -> CargoResult < ExportInfo > { if opt . version != VERSION { bail ! ( " " opt version VERSION ) ; } if opt . no_deps { metadata_no_deps ( opt , config ) } else { metadata_full ( opt , config ) } }
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.
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 .
opt
OutputMetadataOptions
config
&Config
opt
OutputMetadataOptions
config
&Config