Skip to main content

find_project_root

Function find_project_root 

Source
pub fn find_project_root(start: &Path) -> PathBuf
Expand description

Outermost ancestor whose Cargo.toml declares [workspace], else the nearest directory with a Cargo.toml, else start itself.