Skip to main content

get_target_package

Function get_target_package 

Source
pub fn get_target_package(
    workspace: &Workspace,
    args: &CliArgs,
) -> (Kid, String)
Expand description

Get the target package.

This combines the info from args and workspace:

  • If --package is specified, use that.
  • Otherwise, use workspace’s main package.