Skip to main content

detect

Function detect 

Source
pub fn detect(start: Option<&Path>) -> PathBuf
Expand description

Detect the Cargo project root by walking ancestors looking for both Cargo.toml and src/.