Skip to main content

Crate cargo_target_gc

Crate cargo_target_gc 

Source
Expand description

cargo-target-gc — a read-only Cargo target-artifact garbage collector.

scan is a pure filesystem analysis of target/ directories: it NEVER invokes cargo and creates no build artifacts. clean reuses the same walk to remove only reclaimable artifacts, and only with explicit confirmation.

Modules§

active
Active Cargo build detection for safe cleanup.
agent_skill
Host-agent skill installer for cargo-target-gc.
clean
clean — preview and (with confirmation) remove reclaimable target artifacts.
cli
Command-line argument definitions for the cargo-target-gc binary.
config
target-gc.toml configuration loading.
discovery
Rust project / workspace discovery by walking up to the nearest Cargo.toml.
report
Scan report data model and rendering (human-readable + JSON).
scan
Scan orchestration: discovery → config → read-only target analysis → report.
target
Read-only analysis of Cargo target/ directories.