Function get_project_root

Source
pub fn get_project_root() -> PathBuf
Expand description

Get the project root directory by searching for the target folder and the Cargo.lock file. Use get_project_root_directory to handle the error manually.