Skip to main content

Module common

Module common 

Source
Expand description

Common helper functions shared across cargo plugins.

Functionsยง

detect_repo
Detect GitHub repository from environment or git remote.
find_package
Find the Cargo package using cargo_metadata.
get_metadata
Get cargo metadata for a workspace or package.
get_owner_repo
Get owner and repo from args or environment.
get_package_version_from_manifest
Get package version from a specific manifest path using cargo_metadata.
get_workspace_packages
Get all workspace packages.