get_cargo_root

Function get_cargo_root 

Source
pub fn get_cargo_root() -> Result<PathBuf, PathError>
Expand description

Returns the path to the workspace directory of a Cargo workspace. Reason for this workaround: https://github.com/rust-lang/cargo/issues/3946