def METHOD_NAME(
    subcommand,
    cargo_args: str = "",
    subcommand_args: str = "",
    *,
    env: dict = None,
    cwd: str = None,
):
    """Executes the specified cargo subcommand"""
    env = env or {}
    env_string = " ".join(f'{key}="{str(value)}"' for key, value in env.items())
    cmd = f"{env_string} cargo {subcommand} {cargo_args} -- {subcommand_args}"
    return utils.run_cmd(cmd, cwd=cwd)