Skip to main content

declared_version

Function declared_version 

Source
pub fn declared_version(root: &Path) -> Result<String, RkError>
Expand description

The version the bundle’s Cargo.toml declares.

§Errors

Returns RkError::Other when the manifest is absent, unparsable, or names no package version.