pub fn detect_walk(dir: impl AsRef<Path>) -> Option<(ProjectKind, PathBuf)>Expand description
Like detect, but walks up the directory tree if no project is found
in dir. Returns the detected kind and the directory it was found in.
This handles the common case of running from a subdirectory inside a
workspace (e.g. tower/imp/ inside a Cargo workspace rooted at tower/).