current_version

Function current_version 

Source
pub fn current_version() -> Result<String>
Expand description

Returns the version of the cadmus binary crate from its Cargo.toml.

ยงErrors

Returns an error if the workspace root cannot be found, the Cargo.toml cannot be read, or the version field is missing.