Function cargo_metadata::metadata_run[][src]

pub fn metadata_run(
    manifest_path: Option<&Path>,
    deps: bool,
    features: Option<CargoOpt>
) -> Result<Metadata>

The main entry point to obtaining metadata

Parameters

  • manifest_path: Path to the manifest.
  • deps: Whether to include dependencies.
  • feat: Witch features to include, None for defaults