[][src]Function locate_cargo_manifest::locate_manifest

pub fn locate_manifest() -> Result<PathBuf, LocateManifestError>

Returns the Cargo manifest path of the surrounding crate.

The path is retrieved by parsing the output of cargo locate-project.