REA Cargo workspace notes (unofficial)

Last updated: · By the RepoRead editorial team · Unofficial guide
Quick answer

Cargo workspaces group multiple crates under one root Cargo.toml. In REA 6.7.x, treat workspace membership as Evidence beside Cargo.lock / vendor routes — complementing rea-cargo-metadata and rea-cargo-vendor.

Mental model

  1. Authorize the workspace root (+ member crates / lock / vendor you hold).
  2. Quote selected workspace.members paths you actually see.
  3. Lock/metadata → rea-cargo-metadata.
  4. Vendored trees → rea-cargo-vendor.
  5. Do not invent a cargo metadata workspace graph REA never ran.

Minimal path

# authorized workspace Cargo.toml (+ Cargo.lock / member crates you hold)
# quote selected members into case notes
# REA archive/Rust routes on /absolute/path/artifact --json
# do not invent: rea inspect_cargo_workspace .

Compare

ArtifactHonest posture
workspace Cargo.tomlWorkspace membership facts
Cargo.lock / metadatarea-cargo-metadata
vendor/rea-cargo-vendor
pnpm workspace cousinrea-pnpm-workspace

Scope we will not cover

  • No inventing inspect_cargo_workspace / automatic crates.io crawlers.
  • No Cargo/registry credential theft.
  • No pirate redistribution of paid crates.
  • No crack framing for commercial Rust apps.

RepoRead is unofficial. Prefer workspace/lock honesty + DISCLAIMER.md.

FAQ

How is this different from rea-cargo-metadata?

rea-cargo-metadata covers lock/metadata graph identity. This page zooms on workspace membership (workspace.members) beside those facts.

Is there inspect_cargo_workspace in 6.7.0?

Not assumed. Quote member crate paths you actually see, then use documented Cargo/Rust/archive lanes. Do not invent inspect_cargo_workspace.

Does REA run cargo metadata?

No. Local trees only. No crates.io credential theft.

Virtual workspaces / defaults?

Quote the root Cargo.toml sections present. Do not invent default-members lists that are absent.

npm version checked?

rea-agents 6.7.0 (re-checked 2026-10-24).

Sources