cargo::ops::cargo_add

Function add

Source
pub fn add(
    workspace: &Workspace<'_>,
    options: &AddOptions<'_>,
) -> CargoResult<()>
Expand description

Add dependencies to a manifest