Skip to main content

run_publish_parallel

Function run_publish_parallel 

Source
pub fn run_publish_parallel(
    ws: &PlannedWorkspace,
    opts: &RuntimeOptions,
    st: &mut ExecutionState,
    state_dir: &Path,
    reg: &RegistryClient,
    reporter: &mut dyn Reporter,
) -> Result<Vec<PackageReceipt>>
Expand description

Run publish in parallel mode using shipper’s wrapped RegistryClient.

This is the entry point called by engine::run_publish. It adapts the host crate’s types (crate::registry::RegistryClient, crate::engine::Reporter) into the inner ones expected by the parallel engine.

Constructs a fresh shipper_registry::RegistryClient from the host registry’s configuration so the call works regardless of which registry impl variant is active (micro wrapper vs. in-tree legacy).