cargo::ops

Function install

Source
pub fn install(
    gctx: &GlobalContext,
    root: Option<&str>,
    krates: Vec<(String, Option<VersionReq>)>,
    source_id: SourceId,
    from_cwd: bool,
    opts: &CompileOptions,
    force: bool,
    no_track: bool,
    dry_run: bool,
    lockfile_path: Option<&Path>,
) -> CargoResult<()>