pub(crate) fn upgrade_requirement(
req: &str,
version: &Version,
) -> CargoResult<Option<(String, VersionReq)>>
Expand description
Upgrade an existing requirement to a new version. Copied from cargo-edit.
pub(crate) fn upgrade_requirement(
req: &str,
version: &Version,
) -> CargoResult<Option<(String, VersionReq)>>
Upgrade an existing requirement to a new version. Copied from cargo-edit.