Function cargo_metadata::metadata [] [src]

pub fn metadata(manifest_path_arg: Option<&str>) -> Result<Metadata, Error>

Obtain metadata only about the root package and don't fetch dependencies

Parameters

  • manifest_path_arg: Path to the manifest.