Function read_repo

Source
pub fn read_repo(dir: &str) -> Result<String>
Expand description

Get the repository name from Cargo.toml. Fallbacks to directory name if Cargo.toml does not exists.