[−][src]Function cargo_edit::get_crate_name_from_path
pub fn get_crate_name_from_path(path: &str) -> Result<String>
Query crate name by accessing Cargo.toml in a local path
The name will be returned as a string. This will fail, when Cargo.toml is not present in the root of the path.