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
The edit is applied on a toml_edit::DocumentMut, so comments, key
order and inline-table formatting outside the version value are
preserved byte-for-byte.
§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