pub fn find_project_root(start: &Path) -> PathBuf
Outermost ancestor whose Cargo.toml declares [workspace], else the nearest directory with a Cargo.toml, else start itself.
Cargo.toml
[workspace]
start