Skip to main content

cargo_target_inventory_key

Function cargo_target_inventory_key 

Source
pub fn cargo_target_inventory_key(
    project: ProjectInstanceId,
    package: &str,
    manifest: &str,
    directory: &str,
) -> Result<CanonicalResolutionKey, GraphContractError>
Expand description

Canonical invalidation cause for one Cargo target-root directory inventory.

This is a dependency key, not proof of a call target or crate membership.

ยงErrors

Returns a graph contract error for invalid package, manifest or directory identity.