fn parse_crate_name(&self) -> Result<String> {
        let toml_path = PathBuf::from(&self.prj_path).join("Cargo.toml");
        let manifest = cargo::manifest(toml_path.as_path())?;
        println!("parse project name = {}", manifest.package.name);
        Ok(manifest.package.name)
    }
///
/// parse the crate name of origin project from Cargo.toml
///
parse the crate name of origin project from Cargo.toml
parse the crate name of origin project from Cargo . toml
fn parse_crate_name(&self) -> Result<String> {
        let toml_path = PathBuf::from(&self.prj_path).join("Cargo.toml");
        let manifest = cargo::manifest(toml_path.as_path())?;
        println!("parse project name = {}", manifest.package.name);
        Ok(manifest.package.name)
    }
fn parse_crate_name ( & self ) -> Result < String > { let toml_path = PathBuf :: from ( & self . prj_path ) . join ( " " ) ; let manifest = cargo :: manifest ( toml_path . as_path ( ) ) ? ; println ! ( " " manifest package name ) ; Ok ( manifest . package . name ) }
parse the crate name of origin project from Cargo.toml
parse the crate name of origin project from Cargo . toml
&self