Function cargo_metadata::metadata [] [src]

pub fn metadata(manifest_path: Option<&Path>) -> Result<Metadata>

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

Parameters

  • manifest_path: Path to the manifest.