Skip to main content

Crate stow_cli

Crate stow_cli 

Source
Expand description

Stow CLI: rustc-wrapper that intercepts every compilation unit, looks up a prebuilt artifact via the edge worker, and either injects the cached output into Cargo’s target directory or falls through to a normal rustc build.

Public binaries:

  • stow-cli — the canonical entrypoint installed on user machines.
  • cargo-stow — same binary exposed as a cargo subcommand.
  • stow — short alias.

All three resolve to run.

Modules§

build_consume
The verified cache-consumption chain stow-build reuses (stow#299).

Functions§

run
Entry point for all three stow binaries: installs tracing when the invocation allows it, builds a tokio runtime sized to the invocation kind, and runs [async_main].