Function cargo_edit::set_dep_version
source · pub fn set_dep_version(
dep_item: &mut Item,
new_version: &str,
) -> CargoResult<()>
Expand description
Set a dependency’s version in its entry in the dependency table
pub fn set_dep_version(
dep_item: &mut Item,
new_version: &str,
) -> CargoResult<()>
Set a dependency’s version in its entry in the dependency table