ensure_version_or_cargo_install

Function ensure_version_or_cargo_install 

Source
pub fn ensure_version_or_cargo_install(
    build_dir: &Path,
    cargo: &Path,
    pkg_name: &str,
    bin_name: &str,
    version: &str,
) -> Result<PathBuf>
Expand description

If the given executable is installed with the given version, use that, otherwise install via cargo.