Skip to main content

execute_bump

Function execute_bump 

Source
pub async fn execute_bump(
    manifest_path: &str,
    bump_type: &BumpVersionType,
) -> Result<String, Box<dyn Error>>
Expand description

Read and update version in Cargo.toml

§Arguments

  • &str: Path to Cargo.toml file
  • &BumpVersionType: Type of version bump to apply

§Returns

  • Result<String, Box<dyn std::error::Error>>: The new version string or an error