Skip to main content

Crate cargo_run

Crate cargo_run 

Source
Expand description

The cargo-run library (binary names: cargo-script, cgs).

This crate exposes the building blocks used by the binaries — script parsing, execution, workspace orchestration, cargo-script integration, template rendering, hooks, parallel/watch execution and JSON output — so that downstream tooling can embed cargo-run programmatically.

Modules§

commands
CLI command definitions and module registry.
error
Error handling module for cargo-script CLI tool.
output
Output formats for cargo-run.
start
Top-level CLI entry point for cargo-script / cgs.