pub fn output_metadata<'a>(opt: OutputMetadataOptions,
                           config: &'a Config)
                           -> CargoResult<ExportInfo> {
    let deps = try!(resolve_dependencies(opt.manifest_path,
                                         config,
                                         opt.features,
                                         opt.no_default_features));
    let (packages, resolve) = deps;

    assert_eq!(opt.version, VERSION);
    Ok(ExportInfo {
        packages: packages,
        resolve: resolve,
        version: VERSION,
    })
}
/// 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<'a>(opt: OutputMetadataOptions,
                           config: &'a Config)
                           -> CargoResult<ExportInfo> {
    let deps = try!(resolve_dependencies(opt.manifest_path,
                                         config,
                                         opt.features,
                                         opt.no_default_features));
    let (packages, resolve) = deps;
    assert_eq!(opt.version, VERSION);
    Ok(ExportInfo {
        packages: packages,
        resolve: resolve,
        version: VERSION,
    })
}
pub fn output_metadata < ' a > ( opt : OutputMetadataOptions , config : & ' a Config ) -> CargoResult < ExportInfo > { let deps = try ! ( resolve_dependencies ( opt manifest_path config opt features opt no_default_features ) ) ; let ( packages , resolve ) = deps ; assert_eq ! ( opt version VERSION ) ; Ok ( ExportInfo { packages : packages , resolve : resolve , version : VERSION , } ) }
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
&'a Config
opt
OutputMetadataOptions
config
&'a Config