Function new_version_number

Source
fn new_version_number(crate_version: &str, update_type: &str) -> Result<Version>